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