azure-native.operationsmanagement.ManagementAssociation
Explore with Pulumi AI
The container for solution.
Uses Azure REST API version 2015-11-01-preview. In version 1.x of the Azure Native provider, it used API version 2015-11-01-preview.
Create ManagementAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementAssociation(name: string, args: ManagementAssociationArgs, opts?: CustomResourceOptions);
@overload
def ManagementAssociation(resource_name: str,
args: ManagementAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
resource_type: Optional[str] = None,
location: Optional[str] = None,
management_association_name: Optional[str] = None,
properties: Optional[ManagementAssociationPropertiesArgs] = None)
func NewManagementAssociation(ctx *Context, name string, args ManagementAssociationArgs, opts ...ResourceOption) (*ManagementAssociation, error)
public ManagementAssociation(string name, ManagementAssociationArgs args, CustomResourceOptions? opts = null)
public ManagementAssociation(String name, ManagementAssociationArgs args)
public ManagementAssociation(String name, ManagementAssociationArgs args, CustomResourceOptions options)
type: azure-native:operationsmanagement:ManagementAssociation
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. ManagementAssociationArgs - 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. ManagementAssociationArgs - 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. ManagementAssociationArgs - 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. ManagementAssociationArgs - 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. ManagementAssociationArgs - 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 managementAssociationResource = new AzureNative.OperationsManagement.ManagementAssociation("managementAssociationResource", new()
{
ProviderName = "string",
ResourceGroupName = "string",
ResourceName = "string",
ResourceType = "string",
Location = "string",
ManagementAssociationName = "string",
Properties = new AzureNative.OperationsManagement.Inputs.ManagementAssociationPropertiesArgs
{
ApplicationId = "string",
},
});
example, err := operationsmanagement.NewManagementAssociation(ctx, "managementAssociationResource", &operationsmanagement.ManagementAssociationArgs{
ProviderName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
ResourceType: pulumi.String("string"),
Location: pulumi.String("string"),
ManagementAssociationName: pulumi.String("string"),
Properties: &operationsmanagement.ManagementAssociationPropertiesArgs{
ApplicationId: pulumi.String("string"),
},
})
var managementAssociationResource = new ManagementAssociation("managementAssociationResource", ManagementAssociationArgs.builder()
.providerName("string")
.resourceGroupName("string")
.resourceName("string")
.resourceType("string")
.location("string")
.managementAssociationName("string")
.properties(ManagementAssociationPropertiesArgs.builder()
.applicationId("string")
.build())
.build());
management_association_resource = azure_native.operationsmanagement.ManagementAssociation("managementAssociationResource",
provider_name="string",
resource_group_name="string",
resource_name_="string",
resource_type="string",
location="string",
management_association_name="string",
properties={
"application_id": "string",
})
const managementAssociationResource = new azure_native.operationsmanagement.ManagementAssociation("managementAssociationResource", {
providerName: "string",
resourceGroupName: "string",
resourceName: "string",
resourceType: "string",
location: "string",
managementAssociationName: "string",
properties: {
applicationId: "string",
},
});
type: azure-native:operationsmanagement:ManagementAssociation
properties:
location: string
managementAssociationName: string
properties:
applicationId: string
providerName: string
resourceGroupName: string
resourceName: string
resourceType: string
ManagementAssociation 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 ManagementAssociation resource accepts the following input properties:
- Provider
Name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- Resource
Name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- Resource
Type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- Location string
- Resource location
- Management
Association Name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- Properties
Pulumi.
Azure Native. Operations Management. Inputs. Management Association Properties - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
- Provider
Name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- Resource
Name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- Resource
Type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- Location string
- Resource location
- Management
Association Name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- Properties
Management
Association Properties Args - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
- provider
Name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- resource
Name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- resource
Type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- location String
- Resource location
- management
Association Name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- properties
Management
Association Properties - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
- provider
Name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- resource
Name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- resource
Type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- location string
- Resource location
- management
Association Name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- properties
Management
Association Properties - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
- provider_
name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- resource_
name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- resource_
type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- location str
- Resource location
- management_
association_ name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- properties
Management
Association Properties Args - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
- provider
Name This property is required. Changes to this property will trigger replacement.
- Provider name for the parent resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group to get. The name is case insensitive.
- resource
Name This property is required. Changes to this property will trigger replacement.
- Parent resource name.
- resource
Type This property is required. Changes to this property will trigger replacement.
- Resource type for the parent resource
- location String
- Resource location
- management
Association Name Changes to this property will trigger replacement.
- User ManagementAssociation Name.
- properties Property Map
- Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementAssociation resource produces the following output properties:
Supporting Types
ManagementAssociationProperties, ManagementAssociationPropertiesArgs
- Application
Id This property is required. string - The applicationId of the appliance for this association.
- Application
Id This property is required. string - The applicationId of the appliance for this association.
- application
Id This property is required. String - The applicationId of the appliance for this association.
- application
Id This property is required. string - The applicationId of the appliance for this association.
- application_
id This property is required. str - The applicationId of the appliance for this association.
- application
Id This property is required. String - The applicationId of the appliance for this association.
ManagementAssociationPropertiesResponse, ManagementAssociationPropertiesResponseArgs
- Application
Id This property is required. string - The applicationId of the appliance for this association.
- Application
Id This property is required. string - The applicationId of the appliance for this association.
- application
Id This property is required. String - The applicationId of the appliance for this association.
- application
Id This property is required. string - The applicationId of the appliance for this association.
- application_
id This property is required. str - The applicationId of the appliance for this association.
- application
Id This property is required. String - The applicationId of the appliance for this association.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:operationsmanagement:ManagementAssociation managementAssociation1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0