Documentation ¶
Index ¶
- func PossibleValuesForMarketplaceSubscriptionStatus() []string
- func PossibleValuesForRenewalMode() []string
- func PossibleValuesForResourceProvisioningState() []string
- func PossibleValuesForSingleSignOnStates() []string
- func ValidateOrganizationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type LiftrBaseDataOrganizationProperties
- type LiftrBaseDataPartnerOrganizationProperties
- type LiftrBaseDataPartnerOrganizationPropertiesUpdate
- type LiftrBaseMarketplaceDetails
- type LiftrBaseMarketplaceDetailsUpdate
- type LiftrBaseOfferDetails
- type LiftrBaseOfferDetailsUpdate
- type LiftrBaseSingleSignOnProperties
- type LiftrBaseUserDetails
- type LiftrBaseUserDetailsUpdate
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type MarketplaceSubscriptionStatus
- type OrganizationId
- type OrganizationResource
- type OrganizationResourceOperationPredicate
- type OrganizationResourceUpdate
- type OrganizationResourceUpdateProperties
- type OrganizationsClient
- func (c OrganizationsClient) CreateOrUpdate(ctx context.Context, id OrganizationId, input OrganizationResource) (result CreateOrUpdateOperationResponse, err error)
- func (c OrganizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id OrganizationId, input OrganizationResource) error
- func (c OrganizationsClient) Delete(ctx context.Context, id OrganizationId) (result DeleteOperationResponse, err error)
- func (c OrganizationsClient) DeleteThenPoll(ctx context.Context, id OrganizationId) error
- func (c OrganizationsClient) Get(ctx context.Context, id OrganizationId) (result GetOperationResponse, err error)
- func (c OrganizationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c OrganizationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c OrganizationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c OrganizationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c OrganizationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c OrganizationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c OrganizationsClient) Update(ctx context.Context, id OrganizationId, input OrganizationResourceUpdate) (result UpdateOperationResponse, err error)
- func (c OrganizationsClient) UpdateThenPoll(ctx context.Context, id OrganizationId, input OrganizationResourceUpdate) error
- type RenewalMode
- type ResourceProvisioningState
- type SingleSignOnStates
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMarketplaceSubscriptionStatus ¶
func PossibleValuesForMarketplaceSubscriptionStatus() []string
func PossibleValuesForRenewalMode ¶
func PossibleValuesForRenewalMode() []string
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
func PossibleValuesForSingleSignOnStates ¶
func PossibleValuesForSingleSignOnStates() []string
func ValidateOrganizationID ¶
ValidateOrganizationID checks that 'input' can be parsed as a Organization ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OrganizationResource }
type LiftrBaseDataOrganizationProperties ¶
type LiftrBaseDataOrganizationProperties struct { Marketplace LiftrBaseMarketplaceDetails `json:"marketplace"` PartnerOrganizationProperties *LiftrBaseDataPartnerOrganizationProperties `json:"partnerOrganizationProperties,omitempty"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` User LiftrBaseUserDetails `json:"user"` }
type LiftrBaseDataPartnerOrganizationProperties ¶
type LiftrBaseDataPartnerOrganizationProperties struct { OrganizationId *string `json:"organizationId,omitempty"` OrganizationName string `json:"organizationName"` SingleSignOnProperties *LiftrBaseSingleSignOnProperties `json:"singleSignOnProperties,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` }
type LiftrBaseDataPartnerOrganizationPropertiesUpdate ¶
type LiftrBaseDataPartnerOrganizationPropertiesUpdate struct { OrganizationId *string `json:"organizationId,omitempty"` OrganizationName *string `json:"organizationName,omitempty"` SingleSignOnProperties *LiftrBaseSingleSignOnProperties `json:"singleSignOnProperties,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` }
type LiftrBaseMarketplaceDetails ¶
type LiftrBaseMarketplaceDetails struct { OfferDetails LiftrBaseOfferDetails `json:"offerDetails"` SubscriptionId *string `json:"subscriptionId,omitempty"` SubscriptionStatus *MarketplaceSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
type LiftrBaseMarketplaceDetailsUpdate ¶ added in v0.20241017.1093842
type LiftrBaseMarketplaceDetailsUpdate struct { OfferDetails *LiftrBaseOfferDetailsUpdate `json:"offerDetails,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SubscriptionStatus *MarketplaceSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
type LiftrBaseOfferDetails ¶
type LiftrBaseOfferDetails struct { EndDate *string `json:"endDate,omitempty"` OfferId string `json:"offerId"` PlanId string `json:"planId"` PlanName *string `json:"planName,omitempty"` PublisherId string `json:"publisherId"` RenewalMode *RenewalMode `json:"renewalMode,omitempty"` TermId *string `json:"termId,omitempty"` TermUnit *string `json:"termUnit,omitempty"` }
func (*LiftrBaseOfferDetails) GetEndDateAsTime ¶
func (o *LiftrBaseOfferDetails) GetEndDateAsTime() (*time.Time, error)
func (*LiftrBaseOfferDetails) SetEndDateAsTime ¶
func (o *LiftrBaseOfferDetails) SetEndDateAsTime(input time.Time)
type LiftrBaseOfferDetailsUpdate ¶ added in v0.20241017.1093842
type LiftrBaseOfferDetailsUpdate struct { OfferId *string `json:"offerId,omitempty"` PlanId *string `json:"planId,omitempty"` PlanName *string `json:"planName,omitempty"` PublisherId *string `json:"publisherId,omitempty"` RenewalMode *RenewalMode `json:"renewalMode,omitempty"` TermId *string `json:"termId,omitempty"` TermUnit *string `json:"termUnit,omitempty"` }
type LiftrBaseSingleSignOnProperties ¶
type LiftrBaseSingleSignOnProperties struct { AadDomains *[]string `json:"aadDomains,omitempty"` EnterpriseAppId *string `json:"enterpriseAppId,omitempty"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` SingleSignOnState *SingleSignOnStates `json:"singleSignOnState,omitempty"` SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` }
type LiftrBaseUserDetails ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []OrganizationResource }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OrganizationResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []OrganizationResource }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OrganizationResource }
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusPendingFulfillmentStart MarketplaceSubscriptionStatus = "PendingFulfillmentStart" MarketplaceSubscriptionStatusSubscribed MarketplaceSubscriptionStatus = "Subscribed" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" MarketplaceSubscriptionStatusUnsubscribed MarketplaceSubscriptionStatus = "Unsubscribed" )
func (*MarketplaceSubscriptionStatus) UnmarshalJSON ¶
func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type OrganizationId ¶
type OrganizationId struct { SubscriptionId string ResourceGroupName string OrganizationName string }
OrganizationId is a struct representing the Resource ID for a Organization
func NewOrganizationID ¶
func NewOrganizationID(subscriptionId string, resourceGroupName string, organizationName string) OrganizationId
NewOrganizationID returns a new OrganizationId struct
func ParseOrganizationID ¶
func ParseOrganizationID(input string) (*OrganizationId, error)
ParseOrganizationID parses 'input' into a OrganizationId
func ParseOrganizationIDInsensitively ¶
func ParseOrganizationIDInsensitively(input string) (*OrganizationId, error)
ParseOrganizationIDInsensitively parses 'input' case-insensitively into a OrganizationId note: this method should only be used for API response data and not user input
func (*OrganizationId) FromParseResult ¶
func (id *OrganizationId) FromParseResult(input resourceids.ParseResult) error
func (OrganizationId) ID ¶
func (id OrganizationId) ID() string
ID returns the formatted Organization ID
func (OrganizationId) Segments ¶
func (id OrganizationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Organization ID
func (OrganizationId) String ¶
func (id OrganizationId) String() string
String returns a human-readable description of this Organization ID
type OrganizationResource ¶
type OrganizationResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LiftrBaseDataOrganizationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type OrganizationResourceOperationPredicate ¶
type OrganizationResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (OrganizationResourceOperationPredicate) Matches ¶
func (p OrganizationResourceOperationPredicate) Matches(input OrganizationResource) bool
type OrganizationResourceUpdate ¶
type OrganizationResourceUpdate struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Properties *OrganizationResourceUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type OrganizationResourceUpdateProperties ¶
type OrganizationResourceUpdateProperties struct { Marketplace *LiftrBaseMarketplaceDetailsUpdate `json:"marketplace,omitempty"` PartnerOrganizationProperties *LiftrBaseDataPartnerOrganizationPropertiesUpdate `json:"partnerOrganizationProperties,omitempty"` User *LiftrBaseUserDetailsUpdate `json:"user,omitempty"` }
type OrganizationsClient ¶
type OrganizationsClient struct {
Client *resourcemanager.Client
}
func NewOrganizationsClientWithBaseURI ¶
func NewOrganizationsClientWithBaseURI(sdkApi sdkEnv.Api) (*OrganizationsClient, error)
func (OrganizationsClient) CreateOrUpdate ¶
func (c OrganizationsClient) CreateOrUpdate(ctx context.Context, id OrganizationId, input OrganizationResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (OrganizationsClient) CreateOrUpdateThenPoll ¶
func (c OrganizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id OrganizationId, input OrganizationResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (OrganizationsClient) Delete ¶
func (c OrganizationsClient) Delete(ctx context.Context, id OrganizationId) (result DeleteOperationResponse, err error)
Delete ...
func (OrganizationsClient) DeleteThenPoll ¶
func (c OrganizationsClient) DeleteThenPoll(ctx context.Context, id OrganizationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (OrganizationsClient) Get ¶
func (c OrganizationsClient) Get(ctx context.Context, id OrganizationId) (result GetOperationResponse, err error)
Get ...
func (OrganizationsClient) ListByResourceGroup ¶
func (c OrganizationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (OrganizationsClient) ListByResourceGroupComplete ¶
func (c OrganizationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (OrganizationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c OrganizationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate OrganizationResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OrganizationsClient) ListBySubscription ¶
func (c OrganizationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (OrganizationsClient) ListBySubscriptionComplete ¶
func (c OrganizationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (OrganizationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c OrganizationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate OrganizationResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OrganizationsClient) Update ¶
func (c OrganizationsClient) Update(ctx context.Context, id OrganizationId, input OrganizationResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (OrganizationsClient) UpdateThenPoll ¶
func (c OrganizationsClient) UpdateThenPoll(ctx context.Context, id OrganizationId, input OrganizationResourceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type RenewalMode ¶
type RenewalMode string
const ( RenewalModeAuto RenewalMode = "Auto" RenewalModeManual RenewalMode = "Manual" )
func (*RenewalMode) UnmarshalJSON ¶
func (s *RenewalMode) UnmarshalJSON(bytes []byte) error
type ResourceProvisioningState ¶
type ResourceProvisioningState string
const ( ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" )
func (*ResourceProvisioningState) UnmarshalJSON ¶
func (s *ResourceProvisioningState) UnmarshalJSON(bytes []byte) error
type SingleSignOnStates ¶
type SingleSignOnStates string
const ( SingleSignOnStatesDisable SingleSignOnStates = "Disable" SingleSignOnStatesEnable SingleSignOnStates = "Enable" SingleSignOnStatesInitial SingleSignOnStates = "Initial" )
func (*SingleSignOnStates) UnmarshalJSON ¶
func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_organization.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_liftrbasedataorganizationproperties.go
- model_liftrbasedatapartnerorganizationproperties.go
- model_liftrbasedatapartnerorganizationpropertiesupdate.go
- model_liftrbasemarketplacedetails.go
- model_liftrbasemarketplacedetailsupdate.go
- model_liftrbaseofferdetails.go
- model_liftrbaseofferdetailsupdate.go
- model_liftrbasesinglesignonproperties.go
- model_liftrbaseuserdetails.go
- model_liftrbaseuserdetailsupdate.go
- model_organizationresource.go
- model_organizationresourceupdate.go
- model_organizationresourceupdateproperties.go
- predicates.go
- version.go