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