Documentation ¶
Index ¶
- func PossibleValuesForResourceNameStatus() []string
- func PossibleValuesForTenantCategory() []string
- type CheckResourceNameOperationResponse
- type CheckResourceNameResult
- type ListCompleteResult
- type ListOperationResponse
- type ResourceName
- type ResourceNameStatus
- type TenantCategory
- type TenantIdDescription
- type TenantIdDescriptionOperationPredicate
- type TenantsClient
- func (c TenantsClient) CheckResourceName(ctx context.Context, input ResourceName) (result CheckResourceNameOperationResponse, err error)
- func (c TenantsClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c TenantsClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c TenantsClient) ListCompleteMatchingPredicate(ctx context.Context, predicate TenantIdDescriptionOperationPredicate) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceNameStatus ¶
func PossibleValuesForResourceNameStatus() []string
func PossibleValuesForTenantCategory ¶
func PossibleValuesForTenantCategory() []string
Types ¶
type CheckResourceNameOperationResponse ¶
type CheckResourceNameOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckResourceNameResult }
type CheckResourceNameResult ¶
type CheckResourceNameResult struct { Name *string `json:"name,omitempty"` Status *ResourceNameStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TenantIdDescription }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TenantIdDescription }
type ResourceName ¶
type ResourceNameStatus ¶
type ResourceNameStatus string
const ( ResourceNameStatusAllowed ResourceNameStatus = "Allowed" ResourceNameStatusReserved ResourceNameStatus = "Reserved" )
func (*ResourceNameStatus) UnmarshalJSON ¶
func (s *ResourceNameStatus) UnmarshalJSON(bytes []byte) error
type TenantCategory ¶
type TenantCategory string
const ( TenantCategoryHome TenantCategory = "Home" TenantCategoryManagedBy TenantCategory = "ManagedBy" TenantCategoryProjectedBy TenantCategory = "ProjectedBy" )
func (*TenantCategory) UnmarshalJSON ¶
func (s *TenantCategory) UnmarshalJSON(bytes []byte) error
type TenantIdDescription ¶
type TenantIdDescription struct { Country *string `json:"country,omitempty"` CountryCode *string `json:"countryCode,omitempty"` DefaultDomain *string `json:"defaultDomain,omitempty"` DisplayName *string `json:"displayName,omitempty"` Domains *[]string `json:"domains,omitempty"` Id *string `json:"id,omitempty"` TenantBrandingLogoUrl *string `json:"tenantBrandingLogoUrl,omitempty"` TenantCategory *TenantCategory `json:"tenantCategory,omitempty"` TenantId *string `json:"tenantId,omitempty"` TenantType *string `json:"tenantType,omitempty"` }
type TenantIdDescriptionOperationPredicate ¶
type TenantIdDescriptionOperationPredicate struct { Country *string CountryCode *string DefaultDomain *string DisplayName *string Id *string TenantBrandingLogoUrl *string TenantId *string TenantType *string }
func (TenantIdDescriptionOperationPredicate) Matches ¶
func (p TenantIdDescriptionOperationPredicate) Matches(input TenantIdDescription) bool
type TenantsClient ¶
type TenantsClient struct {
Client *resourcemanager.Client
}
func NewTenantsClientWithBaseURI ¶
func NewTenantsClientWithBaseURI(sdkApi sdkEnv.Api) (*TenantsClient, error)
func (TenantsClient) CheckResourceName ¶
func (c TenantsClient) CheckResourceName(ctx context.Context, input ResourceName) (result CheckResourceNameOperationResponse, err error)
CheckResourceName ...
func (TenantsClient) List ¶
func (c TenantsClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (TenantsClient) ListComplete ¶
func (c TenantsClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TenantsClient) ListCompleteMatchingPredicate ¶
func (c TenantsClient) ListCompleteMatchingPredicate(ctx context.Context, predicate TenantIdDescriptionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.