func GetContentKeyPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContentKeyPolicyState, opts ...pulumi.ResourceOption) (*ContentKeyPolicy, error) {
	var resource ContentKeyPolicy
	err := ctx.ReadResource("azure:media/contentKeyPolicy:ContentKeyPolicy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetContentKeyPolicy gets an existing ContentKeyPolicy resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetContentKeyPolicy gets an existing ContentKeyPolicy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetContentKeyPolicy gets an existing ContentKeyPolicy 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 GetContentKeyPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContentKeyPolicyState, opts ...pulumi.ResourceOption) (*ContentKeyPolicy, error) {
	var resource ContentKeyPolicy
	err := ctx.ReadResource("azure:media/contentKeyPolicy:ContentKeyPolicy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetContentKeyPolicy ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * ContentKeyPolicyState , opts ... pulumi . ResourceOption ) ( * ContentKeyPolicy , error ) { var resource ContentKeyPolicy err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetContentKeyPolicy gets an existing ContentKeyPolicy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetContentKeyPolicy gets an existing ContentKeyPolicy resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .