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