Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

ManagementAssociation

The container for solution.

Example Usage

SolutionCreate

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var managementAssociation = new AzureNextGen.OperationsManagement.V20151101Preview.ManagementAssociation("managementAssociation", new AzureNextGen.OperationsManagement.V20151101Preview.ManagementAssociationArgs
        {
            Location = "East US",
            ManagementAssociationName = "managementAssociation1",
            Properties = new AzureNextGen.OperationsManagement.V20151101Preview.Inputs.ManagementAssociationPropertiesArgs
            {
                ApplicationId = "/subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Appliance/Appliances/appliance1",
            },
            ProviderName = "providerName",
            ResourceGroupName = "rg1",
            ResourceName = "resourceName",
            ResourceType = "resourceType",
        });
    }

}
package main

import (
    operationsmanagement "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/operationsmanagement/v20151101preview"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := operationsmanagement.NewManagementAssociation(ctx, "managementAssociation", &operationsmanagement.ManagementAssociationArgs{
            Location:                  pulumi.String("East US"),
            ManagementAssociationName: pulumi.String("managementAssociation1"),
            Properties: &operationsmanagement.ManagementAssociationPropertiesArgs{
                ApplicationId: pulumi.String("/subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Appliance/Appliances/appliance1"),
            },
            ProviderName:      pulumi.String("providerName"),
            ResourceGroupName: pulumi.String("rg1"),
            ResourceName:      pulumi.String("resourceName"),
            ResourceType:      pulumi.String("resourceType"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

management_association = azure_nextgen.operationsmanagement.v20151101preview.ManagementAssociation("managementAssociation",
    location="East US",
    management_association_name="managementAssociation1",
    properties=azure_nextgen.operationsmanagement.v20151101preview.ManagementAssociationPropertiesArgs(
        application_id="/subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Appliance/Appliances/appliance1",
    ),
    provider_name="providerName",
    resource_group_name="rg1",
    resource_name="resourceName",
    resource_type="resourceType")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const managementAssociation = new azure_nextgen.operationsmanagement.v20151101preview.ManagementAssociation("managementAssociation", {
    location: "East US",
    managementAssociationName: "managementAssociation1",
    properties: {
        applicationId: "/subscriptions/sub1/resourcegroups/rg1/providers/Microsoft.Appliance/Appliances/appliance1",
    },
    providerName: "providerName",
    resourceGroupName: "rg1",
    resourceName: "resourceName",
    resourceType: "resourceType",
});

Create a ManagementAssociation Resource

new ManagementAssociation(name: string, args: ManagementAssociationArgs, opts?: CustomResourceOptions);
def ManagementAssociation(resource_name: str, opts: Optional[ResourceOptions] = None, location: Optional[str] = None, management_association_name: Optional[str] = None, properties: Optional[ManagementAssociationPropertiesArgs] = None, provider_name: Optional[str] = None, resource_group_name: Optional[str] = None, resource_name_: Optional[str] = None, resource_type: Optional[str] = None)
func NewManagementAssociation(ctx *Context, name string, args ManagementAssociationArgs, opts ...ResourceOption) (*ManagementAssociation, error)
public ManagementAssociation(string name, ManagementAssociationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ManagementAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ManagementAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ManagementAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ManagementAssociation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ManagementAssociation resource accepts the following input properties:

ManagementAssociationName string
User ManagementAssociation Name.
ProviderName string
Provider name for the parent resource.
ResourceGroupName string
The name of the resource group to get. The name is case insensitive.
ResourceName string
Parent resource name.
ResourceType string
Resource type for the parent resource
Location string
Resource location
Properties Pulumi.AzureNextGen.OperationsManagement.Inputs.ManagementAssociationPropertiesArgs
Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
ManagementAssociationName string
User ManagementAssociation Name.
ProviderName string
Provider name for the parent resource.
ResourceGroupName string
The name of the resource group to get. The name is case insensitive.
ResourceName string
Parent resource name.
ResourceType string
Resource type for the parent resource
Location string
Resource location
Properties ManagementAssociationProperties
Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
managementAssociationName string
User ManagementAssociation Name.
providerName string
Provider name for the parent resource.
resourceGroupName string
The name of the resource group to get. The name is case insensitive.
resourceName string
Parent resource name.
resourceType string
Resource type for the parent resource
location string
Resource location
properties ManagementAssociationProperties
Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
management_association_name str
User ManagementAssociation Name.
provider_name str
Provider name for the parent resource.
resource_group_name str
The name of the resource group to get. The name is case insensitive.
resource_name str
Parent resource name.
resource_type str
Resource type for the parent resource
location str
Resource location
properties ManagementAssociationPropertiesArgs
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:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
Type string
Resource type.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
Type string
Resource type.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name.
type string
Resource type.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name.
type str
Resource type.

Supporting Types

ManagementAssociationProperties

ApplicationId string
The applicationId of the appliance for this association.
ApplicationId string
The applicationId of the appliance for this association.
applicationId string
The applicationId of the appliance for this association.
application_id str
The applicationId of the appliance for this association.

ManagementAssociationPropertiesResponse

ApplicationId string
The applicationId of the appliance for this association.
ApplicationId string
The applicationId of the appliance for this association.
applicationId string
The applicationId of the appliance for this association.
application_id str
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-nextgen:operationsmanagement/v20151101preview:ManagementAssociation managementAssociation1 /subscriptions/subid/resourcegroups/rg1/providers/Microsoft.OperationalInsights/workspaces/ws1/Microsoft.OperationsManagement/ManagementAssociations/managementAssociation1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0