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