func GetConfigurationPolicyAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationPolicyAssignmentState, opts ...pulumi.ResourceOption) (*ConfigurationPolicyAssignment, error) {
	var resource ConfigurationPolicyAssignment
	err := ctx.ReadResource("azure:compute/configurationPolicyAssignment:ConfigurationPolicyAssignment", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetConfigurationPolicyAssignment gets an existing ConfigurationPolicyAssignment resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetConfigurationPolicyAssignment gets an existing ConfigurationPolicyAssignment resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetConfigurationPolicyAssignment gets an existing ConfigurationPolicyAssignment resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetConfigurationPolicyAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationPolicyAssignmentState, opts ...pulumi.ResourceOption) (*ConfigurationPolicyAssignment, error) {
	var resource ConfigurationPolicyAssignment
	err := ctx.ReadResource("azure:compute/configurationPolicyAssignment:ConfigurationPolicyAssignment", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetConfigurationPolicyAssignment ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * ConfigurationPolicyAssignmentState , opts ... pulumi . ResourceOption ) ( * ConfigurationPolicyAssignment , error ) { var resource ConfigurationPolicyAssignment err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetConfigurationPolicyAssignment gets an existing ConfigurationPolicyAssignment resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetConfigurationPolicyAssignment gets an existing ConfigurationPolicyAssignment resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .