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