azure-native.appplatform.Binding
Explore with Pulumi AI
Binding resource payload API Version: 2020-07-01.
Create Binding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Binding(name: string, args: BindingArgs, opts?: CustomResourceOptions);
@overload
def Binding(resource_name: str,
args: BindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Binding(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
binding_name: Optional[str] = None,
properties: Optional[BindingResourcePropertiesArgs] = None)
func NewBinding(ctx *Context, name string, args BindingArgs, opts ...ResourceOption) (*Binding, error)
public Binding(string name, BindingArgs args, CustomResourceOptions? opts = null)
public Binding(String name, BindingArgs args)
public Binding(String name, BindingArgs args, CustomResourceOptions options)
type: azure-native:appplatform:Binding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BindingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. BindingArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BindingArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BindingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. BindingArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bindingResource = new AzureNative.Appplatform.Binding("bindingResource", new()
{
AppName = "string",
ResourceGroupName = "string",
ServiceName = "string",
BindingName = "string",
Properties =
{
{ "bindingParameters",
{
{ "string", "any" },
} },
{ "key", "string" },
{ "resourceId", "string" },
},
});
example, err := appplatform.NewBinding(ctx, "bindingResource", &appplatform.BindingArgs{
AppName: "string",
ResourceGroupName: "string",
ServiceName: "string",
BindingName: "string",
Properties: map[string]interface{}{
"bindingParameters": map[string]interface{}{
"string": "any",
},
"key": "string",
"resourceId": "string",
},
})
var bindingResource = new Binding("bindingResource", BindingArgs.builder()
.appName("string")
.resourceGroupName("string")
.serviceName("string")
.bindingName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
binding_resource = azure_native.appplatform.Binding("bindingResource",
app_name=string,
resource_group_name=string,
service_name=string,
binding_name=string,
properties={
bindingParameters: {
string: any,
},
key: string,
resourceId: string,
})
const bindingResource = new azure_native.appplatform.Binding("bindingResource", {
appName: "string",
resourceGroupName: "string",
serviceName: "string",
bindingName: "string",
properties: {
bindingParameters: {
string: "any",
},
key: "string",
resourceId: "string",
},
});
type: azure-native:appplatform:Binding
properties:
appName: string
bindingName: string
properties:
bindingParameters:
string: any
key: string
resourceId: string
resourceGroupName: string
serviceName: string
Binding Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Binding resource accepts the following input properties:
- App
Name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- Binding
Name Changes to this property will trigger replacement.
- The name of the Binding resource.
- Properties
Pulumi.
Azure Native. App Platform. Inputs. Binding Resource Properties - Properties of the Binding resource
- App
Name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- Binding
Name Changes to this property will trigger replacement.
- The name of the Binding resource.
- Properties
Binding
Resource Properties Args - Properties of the Binding resource
- app
Name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- binding
Name Changes to this property will trigger replacement.
- The name of the Binding resource.
- properties
Binding
Resource Properties - Properties of the Binding resource
- app
Name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- binding
Name Changes to this property will trigger replacement.
- The name of the Binding resource.
- properties
Binding
Resource Properties - Properties of the Binding resource
- app_
name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service_
name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- binding_
name Changes to this property will trigger replacement.
- The name of the Binding resource.
- properties
Binding
Resource Properties Args - Properties of the Binding resource
- app
Name This property is required. Changes to this property will trigger replacement.
- The name of the App resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the Service resource.
- binding
Name Changes to this property will trigger replacement.
- The name of the Binding resource.
- properties Property Map
- Properties of the Binding resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Binding resource produces the following output properties:
Supporting Types
BindingResourceProperties, BindingResourcePropertiesArgs
- Binding
Parameters Dictionary<string, object> - Binding parameters of the Binding resource
- Key string
- The key of the bound resource
- Resource
Id string - The Azure resource id of the bound resource
- Binding
Parameters map[string]interface{} - Binding parameters of the Binding resource
- Key string
- The key of the bound resource
- Resource
Id string - The Azure resource id of the bound resource
- binding
Parameters Map<String,Object> - Binding parameters of the Binding resource
- key String
- The key of the bound resource
- resource
Id String - The Azure resource id of the bound resource
- binding
Parameters {[key: string]: any} - Binding parameters of the Binding resource
- key string
- The key of the bound resource
- resource
Id string - The Azure resource id of the bound resource
- binding_
parameters Mapping[str, Any] - Binding parameters of the Binding resource
- key str
- The key of the bound resource
- resource_
id str - The Azure resource id of the bound resource
- binding
Parameters Map<Any> - Binding parameters of the Binding resource
- key String
- The key of the bound resource
- resource
Id String - The Azure resource id of the bound resource
BindingResourcePropertiesResponse, BindingResourcePropertiesResponseArgs
- Created
At This property is required. string - Creation time of the Binding resource
- Generated
Properties This property is required. string - The generated Spring Boot property file for this binding. The secret will be deducted.
- Resource
Name This property is required. string - The name of the bound resource
- Resource
Type This property is required. string - The standard Azure resource type of the bound resource
- Updated
At This property is required. string - Update time of the Binding resource
- Binding
Parameters Dictionary<string, object> - Binding parameters of the Binding resource
- Key string
- The key of the bound resource
- Resource
Id string - The Azure resource id of the bound resource
- Created
At This property is required. string - Creation time of the Binding resource
- Generated
Properties This property is required. string - The generated Spring Boot property file for this binding. The secret will be deducted.
- Resource
Name This property is required. string - The name of the bound resource
- Resource
Type This property is required. string - The standard Azure resource type of the bound resource
- Updated
At This property is required. string - Update time of the Binding resource
- Binding
Parameters map[string]interface{} - Binding parameters of the Binding resource
- Key string
- The key of the bound resource
- Resource
Id string - The Azure resource id of the bound resource
- created
At This property is required. String - Creation time of the Binding resource
- generated
Properties This property is required. String - The generated Spring Boot property file for this binding. The secret will be deducted.
- resource
Name This property is required. String - The name of the bound resource
- resource
Type This property is required. String - The standard Azure resource type of the bound resource
- updated
At This property is required. String - Update time of the Binding resource
- binding
Parameters Map<String,Object> - Binding parameters of the Binding resource
- key String
- The key of the bound resource
- resource
Id String - The Azure resource id of the bound resource
- created
At This property is required. string - Creation time of the Binding resource
- generated
Properties This property is required. string - The generated Spring Boot property file for this binding. The secret will be deducted.
- resource
Name This property is required. string - The name of the bound resource
- resource
Type This property is required. string - The standard Azure resource type of the bound resource
- updated
At This property is required. string - Update time of the Binding resource
- binding
Parameters {[key: string]: any} - Binding parameters of the Binding resource
- key string
- The key of the bound resource
- resource
Id string - The Azure resource id of the bound resource
- created_
at This property is required. str - Creation time of the Binding resource
- generated_
properties This property is required. str - The generated Spring Boot property file for this binding. The secret will be deducted.
- resource_
name This property is required. str - The name of the bound resource
- resource_
type This property is required. str - The standard Azure resource type of the bound resource
- updated_
at This property is required. str - Update time of the Binding resource
- binding_
parameters Mapping[str, Any] - Binding parameters of the Binding resource
- key str
- The key of the bound resource
- resource_
id str - The Azure resource id of the bound resource
- created
At This property is required. String - Creation time of the Binding resource
- generated
Properties This property is required. String - The generated Spring Boot property file for this binding. The secret will be deducted.
- resource
Name This property is required. String - The name of the bound resource
- resource
Type This property is required. String - The standard Azure resource type of the bound resource
- updated
At This property is required. String - Update time of the Binding resource
- binding
Parameters Map<Any> - Binding parameters of the Binding resource
- key String
- The key of the bound resource
- resource
Id String - The Azure resource id of the bound resource
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:appplatform:Binding mybinding /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0