Documentation ¶
Index ¶
- func PossibleValuesForEnrollmentAccountOwnerViewCharges() []string
- func PossibleValuesForEnrollmentAuthLevelState() []string
- func PossibleValuesForEnrollmentDepartmentAdminViewCharges() []string
- func PossibleValuesForInvoiceSectionLabelManagementPolicy() []string
- func PossibleValuesForMarketplacePurchasesPolicy() []string
- func PossibleValuesForPolicyType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReservationPurchasesPolicy() []string
- func PossibleValuesForSavingsPlanPurchasesPolicy() []string
- func PossibleValuesForViewChargesPolicy() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCustomerID(input interface{}, key string) (warnings []string, errors []error)
- type BillingAccountId
- type BillingAccountPolicy
- type BillingAccountPolicyProperties
- type BillingProfileCustomerId
- func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
- func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
- func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
- type BillingProfileId
- type BillingProfilePolicy
- type BillingProfilePolicyProperties
- type CustomerId
- type CustomerPolicy
- type CustomerPolicyProperties
- type EnrollmentAccountOwnerViewCharges
- type EnrollmentAuthLevelState
- type EnrollmentDepartmentAdminViewCharges
- type EnterpriseAgreementPolicies
- type InvoiceSectionLabelManagementPolicy
- type MarketplacePurchasesPolicy
- type PoliciesCreateOrUpdateByBillingAccountOperationResponse
- type PoliciesCreateOrUpdateByBillingProfileOperationResponse
- type PoliciesCreateOrUpdateByCustomerAtBillingAccountOperationResponse
- type PoliciesCreateOrUpdateByCustomerOperationResponse
- type PoliciesGetByBillingAccountOperationResponse
- type PoliciesGetByBillingProfileOperationResponse
- type PoliciesGetByCustomerAtBillingAccountOperationResponse
- type PoliciesGetByCustomerOperationResponse
- type PoliciesGetBySubscriptionOperationResponse
- type PolicyClient
- func (c PolicyClient) PoliciesCreateOrUpdateByBillingAccount(ctx context.Context, id BillingAccountId, input BillingAccountPolicy) (result PoliciesCreateOrUpdateByBillingAccountOperationResponse, err error)
- func (c PolicyClient) PoliciesCreateOrUpdateByBillingAccountThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountPolicy) error
- func (c PolicyClient) PoliciesCreateOrUpdateByBillingProfile(ctx context.Context, id BillingProfileId, input BillingProfilePolicy) (result PoliciesCreateOrUpdateByBillingProfileOperationResponse, err error)
- func (c PolicyClient) PoliciesCreateOrUpdateByBillingProfileThenPoll(ctx context.Context, id BillingProfileId, input BillingProfilePolicy) error
- func (c PolicyClient) PoliciesCreateOrUpdateByCustomer(ctx context.Context, id BillingProfileCustomerId, input CustomerPolicy) (result PoliciesCreateOrUpdateByCustomerOperationResponse, err error)
- func (c PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccount(ctx context.Context, id CustomerId, input CustomerPolicy) (result PoliciesCreateOrUpdateByCustomerAtBillingAccountOperationResponse, ...)
- func (c PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccountThenPoll(ctx context.Context, id CustomerId, input CustomerPolicy) error
- func (c PolicyClient) PoliciesCreateOrUpdateByCustomerThenPoll(ctx context.Context, id BillingProfileCustomerId, input CustomerPolicy) error
- func (c PolicyClient) PoliciesGetByBillingAccount(ctx context.Context, id BillingAccountId) (result PoliciesGetByBillingAccountOperationResponse, err error)
- func (c PolicyClient) PoliciesGetByBillingProfile(ctx context.Context, id BillingProfileId) (result PoliciesGetByBillingProfileOperationResponse, err error)
- func (c PolicyClient) PoliciesGetByCustomer(ctx context.Context, id BillingProfileCustomerId) (result PoliciesGetByCustomerOperationResponse, err error)
- func (c PolicyClient) PoliciesGetByCustomerAtBillingAccount(ctx context.Context, id CustomerId) (result PoliciesGetByCustomerAtBillingAccountOperationResponse, err error)
- func (c PolicyClient) PoliciesGetBySubscription(ctx context.Context, id commonids.SubscriptionId) (result PoliciesGetBySubscriptionOperationResponse, err error)
- type PolicySummary
- type PolicyType
- type ProvisioningState
- type ReservationPurchasesPolicy
- type SavingsPlanPurchasesPolicy
- type SubscriptionPolicy
- type SubscriptionPolicyProperties
- type ViewChargesPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnrollmentAccountOwnerViewCharges ¶
func PossibleValuesForEnrollmentAccountOwnerViewCharges() []string
func PossibleValuesForEnrollmentAuthLevelState ¶
func PossibleValuesForEnrollmentAuthLevelState() []string
func PossibleValuesForEnrollmentDepartmentAdminViewCharges ¶
func PossibleValuesForEnrollmentDepartmentAdminViewCharges() []string
func PossibleValuesForInvoiceSectionLabelManagementPolicy ¶
func PossibleValuesForInvoiceSectionLabelManagementPolicy() []string
func PossibleValuesForMarketplacePurchasesPolicy ¶
func PossibleValuesForMarketplacePurchasesPolicy() []string
func PossibleValuesForPolicyType ¶
func PossibleValuesForPolicyType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForReservationPurchasesPolicy ¶
func PossibleValuesForReservationPurchasesPolicy() []string
func PossibleValuesForSavingsPlanPurchasesPolicy ¶
func PossibleValuesForSavingsPlanPurchasesPolicy() []string
func PossibleValuesForViewChargesPolicy ¶
func PossibleValuesForViewChargesPolicy() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileCustomerID ¶
func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateCustomerID ¶
ValidateCustomerID checks that 'input' can be parsed as a Customer ID
Types ¶
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingAccountPolicy ¶
type BillingAccountPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingAccountPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingAccountPolicyProperties ¶
type BillingAccountPolicyProperties struct { EnterpriseAgreementPolicies *EnterpriseAgreementPolicies `json:"enterpriseAgreementPolicies,omitempty"` MarketplacePurchases *MarketplacePurchasesPolicy `json:"marketplacePurchases,omitempty"` Policies *[]PolicySummary `json:"policies,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReservationPurchases *ReservationPurchasesPolicy `json:"reservationPurchases,omitempty"` SavingsPlanPurchases *SavingsPlanPurchasesPolicy `json:"savingsPlanPurchases,omitempty"` }
type BillingProfileCustomerId ¶
type BillingProfileCustomerId struct { BillingAccountName string BillingProfileName string CustomerName string }
BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer
func NewBillingProfileCustomerID ¶
func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct
func ParseBillingProfileCustomerID ¶
func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId
func ParseBillingProfileCustomerIDInsensitively ¶
func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input
func (*BillingProfileCustomerId) FromParseResult ¶
func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileCustomerId) ID ¶
func (id BillingProfileCustomerId) ID() string
ID returns the formatted Billing Profile Customer ID
func (BillingProfileCustomerId) Segments ¶
func (id BillingProfileCustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID
func (BillingProfileCustomerId) String ¶
func (id BillingProfileCustomerId) String() string
String returns a human-readable description of this Billing Profile Customer ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (*BillingProfileId) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type BillingProfilePolicy ¶
type BillingProfilePolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingProfilePolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingProfilePolicyProperties ¶
type BillingProfilePolicyProperties struct { EnterpriseAgreementPolicies *EnterpriseAgreementPolicies `json:"enterpriseAgreementPolicies,omitempty"` InvoiceSectionLabelManagement *InvoiceSectionLabelManagementPolicy `json:"invoiceSectionLabelManagement,omitempty"` MarketplacePurchases *MarketplacePurchasesPolicy `json:"marketplacePurchases,omitempty"` Policies *[]PolicySummary `json:"policies,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReservationPurchases *ReservationPurchasesPolicy `json:"reservationPurchases,omitempty"` SavingsPlanPurchases *SavingsPlanPurchasesPolicy `json:"savingsPlanPurchases,omitempty"` ViewCharges *ViewChargesPolicy `json:"viewCharges,omitempty"` }
type CustomerId ¶
CustomerId is a struct representing the Resource ID for a Customer
func NewCustomerID ¶
func NewCustomerID(billingAccountName string, customerName string) CustomerId
NewCustomerID returns a new CustomerId struct
func ParseCustomerID ¶
func ParseCustomerID(input string) (*CustomerId, error)
ParseCustomerID parses 'input' into a CustomerId
func ParseCustomerIDInsensitively ¶
func ParseCustomerIDInsensitively(input string) (*CustomerId, error)
ParseCustomerIDInsensitively parses 'input' case-insensitively into a CustomerId note: this method should only be used for API response data and not user input
func (*CustomerId) FromParseResult ¶
func (id *CustomerId) FromParseResult(input resourceids.ParseResult) error
func (CustomerId) Segments ¶
func (id CustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Customer ID
func (CustomerId) String ¶
func (id CustomerId) String() string
String returns a human-readable description of this Customer ID
type CustomerPolicy ¶
type CustomerPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CustomerPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CustomerPolicyProperties ¶
type CustomerPolicyProperties struct { Policies *[]PolicySummary `json:"policies,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ViewCharges ViewChargesPolicy `json:"viewCharges"` }
type EnrollmentAccountOwnerViewCharges ¶
type EnrollmentAccountOwnerViewCharges string
const ( EnrollmentAccountOwnerViewChargesAllowed EnrollmentAccountOwnerViewCharges = "Allowed" EnrollmentAccountOwnerViewChargesDisabled EnrollmentAccountOwnerViewCharges = "Disabled" EnrollmentAccountOwnerViewChargesNotAllowed EnrollmentAccountOwnerViewCharges = "NotAllowed" EnrollmentAccountOwnerViewChargesOther EnrollmentAccountOwnerViewCharges = "Other" )
func (*EnrollmentAccountOwnerViewCharges) UnmarshalJSON ¶
func (s *EnrollmentAccountOwnerViewCharges) UnmarshalJSON(bytes []byte) error
type EnrollmentAuthLevelState ¶
type EnrollmentAuthLevelState string
const ( EnrollmentAuthLevelStateMicrosoftAccountOnly EnrollmentAuthLevelState = "MicrosoftAccountOnly" EnrollmentAuthLevelStateMixedAccount EnrollmentAuthLevelState = "MixedAccount" EnrollmentAuthLevelStateOrganizationalAccountCrossTenant EnrollmentAuthLevelState = "OrganizationalAccountCrossTenant" EnrollmentAuthLevelStateOrganizationalAccountOnly EnrollmentAuthLevelState = "OrganizationalAccountOnly" EnrollmentAuthLevelStateOther EnrollmentAuthLevelState = "Other" )
func (*EnrollmentAuthLevelState) UnmarshalJSON ¶
func (s *EnrollmentAuthLevelState) UnmarshalJSON(bytes []byte) error
type EnrollmentDepartmentAdminViewCharges ¶
type EnrollmentDepartmentAdminViewCharges string
const ( EnrollmentDepartmentAdminViewChargesAllowed EnrollmentDepartmentAdminViewCharges = "Allowed" EnrollmentDepartmentAdminViewChargesDisabled EnrollmentDepartmentAdminViewCharges = "Disabled" EnrollmentDepartmentAdminViewChargesNotAllowed EnrollmentDepartmentAdminViewCharges = "NotAllowed" EnrollmentDepartmentAdminViewChargesOther EnrollmentDepartmentAdminViewCharges = "Other" )
func (*EnrollmentDepartmentAdminViewCharges) UnmarshalJSON ¶
func (s *EnrollmentDepartmentAdminViewCharges) UnmarshalJSON(bytes []byte) error
type EnterpriseAgreementPolicies ¶
type EnterpriseAgreementPolicies struct { AccountOwnerViewCharges *EnrollmentAccountOwnerViewCharges `json:"accountOwnerViewCharges,omitempty"` AuthenticationType *EnrollmentAuthLevelState `json:"authenticationType,omitempty"` DepartmentAdminViewCharges *EnrollmentDepartmentAdminViewCharges `json:"departmentAdminViewCharges,omitempty"` }
type InvoiceSectionLabelManagementPolicy ¶
type InvoiceSectionLabelManagementPolicy string
const ( InvoiceSectionLabelManagementPolicyAllowed InvoiceSectionLabelManagementPolicy = "Allowed" InvoiceSectionLabelManagementPolicyNotAllowed InvoiceSectionLabelManagementPolicy = "NotAllowed" InvoiceSectionLabelManagementPolicyOther InvoiceSectionLabelManagementPolicy = "Other" )
func (*InvoiceSectionLabelManagementPolicy) UnmarshalJSON ¶
func (s *InvoiceSectionLabelManagementPolicy) UnmarshalJSON(bytes []byte) error
type MarketplacePurchasesPolicy ¶
type MarketplacePurchasesPolicy string
const ( MarketplacePurchasesPolicyAllAllowed MarketplacePurchasesPolicy = "AllAllowed" MarketplacePurchasesPolicyDisabled MarketplacePurchasesPolicy = "Disabled" MarketplacePurchasesPolicyNotAllowed MarketplacePurchasesPolicy = "NotAllowed" MarketplacePurchasesPolicyOnlyFreeAllowed MarketplacePurchasesPolicy = "OnlyFreeAllowed" MarketplacePurchasesPolicyOther MarketplacePurchasesPolicy = "Other" )
func (*MarketplacePurchasesPolicy) UnmarshalJSON ¶
func (s *MarketplacePurchasesPolicy) UnmarshalJSON(bytes []byte) error
type PoliciesGetByBillingAccountOperationResponse ¶
type PoliciesGetByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingAccountPolicy }
type PoliciesGetByBillingProfileOperationResponse ¶
type PoliciesGetByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingProfilePolicy }
type PoliciesGetByCustomerAtBillingAccountOperationResponse ¶
type PoliciesGetByCustomerAtBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomerPolicy }
type PoliciesGetByCustomerOperationResponse ¶
type PoliciesGetByCustomerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomerPolicy }
type PoliciesGetBySubscriptionOperationResponse ¶
type PoliciesGetBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionPolicy }
type PolicyClient ¶
type PolicyClient struct {
Client *resourcemanager.Client
}
func NewPolicyClientWithBaseURI ¶
func NewPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyClient, error)
func (PolicyClient) PoliciesCreateOrUpdateByBillingAccount ¶
func (c PolicyClient) PoliciesCreateOrUpdateByBillingAccount(ctx context.Context, id BillingAccountId, input BillingAccountPolicy) (result PoliciesCreateOrUpdateByBillingAccountOperationResponse, err error)
PoliciesCreateOrUpdateByBillingAccount ...
func (PolicyClient) PoliciesCreateOrUpdateByBillingAccountThenPoll ¶
func (c PolicyClient) PoliciesCreateOrUpdateByBillingAccountThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountPolicy) error
PoliciesCreateOrUpdateByBillingAccountThenPoll performs PoliciesCreateOrUpdateByBillingAccount then polls until it's completed
func (PolicyClient) PoliciesCreateOrUpdateByBillingProfile ¶
func (c PolicyClient) PoliciesCreateOrUpdateByBillingProfile(ctx context.Context, id BillingProfileId, input BillingProfilePolicy) (result PoliciesCreateOrUpdateByBillingProfileOperationResponse, err error)
PoliciesCreateOrUpdateByBillingProfile ...
func (PolicyClient) PoliciesCreateOrUpdateByBillingProfileThenPoll ¶
func (c PolicyClient) PoliciesCreateOrUpdateByBillingProfileThenPoll(ctx context.Context, id BillingProfileId, input BillingProfilePolicy) error
PoliciesCreateOrUpdateByBillingProfileThenPoll performs PoliciesCreateOrUpdateByBillingProfile then polls until it's completed
func (PolicyClient) PoliciesCreateOrUpdateByCustomer ¶
func (c PolicyClient) PoliciesCreateOrUpdateByCustomer(ctx context.Context, id BillingProfileCustomerId, input CustomerPolicy) (result PoliciesCreateOrUpdateByCustomerOperationResponse, err error)
PoliciesCreateOrUpdateByCustomer ...
func (PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccount ¶
func (c PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccount(ctx context.Context, id CustomerId, input CustomerPolicy) (result PoliciesCreateOrUpdateByCustomerAtBillingAccountOperationResponse, err error)
PoliciesCreateOrUpdateByCustomerAtBillingAccount ...
func (PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccountThenPoll ¶
func (c PolicyClient) PoliciesCreateOrUpdateByCustomerAtBillingAccountThenPoll(ctx context.Context, id CustomerId, input CustomerPolicy) error
PoliciesCreateOrUpdateByCustomerAtBillingAccountThenPoll performs PoliciesCreateOrUpdateByCustomerAtBillingAccount then polls until it's completed
func (PolicyClient) PoliciesCreateOrUpdateByCustomerThenPoll ¶
func (c PolicyClient) PoliciesCreateOrUpdateByCustomerThenPoll(ctx context.Context, id BillingProfileCustomerId, input CustomerPolicy) error
PoliciesCreateOrUpdateByCustomerThenPoll performs PoliciesCreateOrUpdateByCustomer then polls until it's completed
func (PolicyClient) PoliciesGetByBillingAccount ¶
func (c PolicyClient) PoliciesGetByBillingAccount(ctx context.Context, id BillingAccountId) (result PoliciesGetByBillingAccountOperationResponse, err error)
PoliciesGetByBillingAccount ...
func (PolicyClient) PoliciesGetByBillingProfile ¶
func (c PolicyClient) PoliciesGetByBillingProfile(ctx context.Context, id BillingProfileId) (result PoliciesGetByBillingProfileOperationResponse, err error)
PoliciesGetByBillingProfile ...
func (PolicyClient) PoliciesGetByCustomer ¶
func (c PolicyClient) PoliciesGetByCustomer(ctx context.Context, id BillingProfileCustomerId) (result PoliciesGetByCustomerOperationResponse, err error)
PoliciesGetByCustomer ...
func (PolicyClient) PoliciesGetByCustomerAtBillingAccount ¶
func (c PolicyClient) PoliciesGetByCustomerAtBillingAccount(ctx context.Context, id CustomerId) (result PoliciesGetByCustomerAtBillingAccountOperationResponse, err error)
PoliciesGetByCustomerAtBillingAccount ...
func (PolicyClient) PoliciesGetBySubscription ¶
func (c PolicyClient) PoliciesGetBySubscription(ctx context.Context, id commonids.SubscriptionId) (result PoliciesGetBySubscriptionOperationResponse, err error)
PoliciesGetBySubscription ...
type PolicySummary ¶
type PolicySummary struct { Name *string `json:"name,omitempty"` PolicyType *PolicyType `json:"policyType,omitempty"` Scope *string `json:"scope,omitempty"` Value *string `json:"value,omitempty"` }
type PolicyType ¶
type PolicyType string
const ( PolicyTypeOther PolicyType = "Other" PolicyTypeSystemControlled PolicyType = "SystemControlled" PolicyTypeUserControlled PolicyType = "UserControlled" )
func (*PolicyType) UnmarshalJSON ¶
func (s *PolicyType) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNew ProvisioningState = "New" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ReservationPurchasesPolicy ¶
type ReservationPurchasesPolicy string
const ( ReservationPurchasesPolicyAllowed ReservationPurchasesPolicy = "Allowed" ReservationPurchasesPolicyDisabled ReservationPurchasesPolicy = "Disabled" ReservationPurchasesPolicyNotAllowed ReservationPurchasesPolicy = "NotAllowed" ReservationPurchasesPolicyOther ReservationPurchasesPolicy = "Other" )
func (*ReservationPurchasesPolicy) UnmarshalJSON ¶
func (s *ReservationPurchasesPolicy) UnmarshalJSON(bytes []byte) error
type SavingsPlanPurchasesPolicy ¶
type SavingsPlanPurchasesPolicy string
const ( SavingsPlanPurchasesPolicyAllowed SavingsPlanPurchasesPolicy = "Allowed" SavingsPlanPurchasesPolicyDisabled SavingsPlanPurchasesPolicy = "Disabled" SavingsPlanPurchasesPolicyNotAllowed SavingsPlanPurchasesPolicy = "NotAllowed" SavingsPlanPurchasesPolicyOther SavingsPlanPurchasesPolicy = "Other" )
func (*SavingsPlanPurchasesPolicy) UnmarshalJSON ¶
func (s *SavingsPlanPurchasesPolicy) UnmarshalJSON(bytes []byte) error
type SubscriptionPolicy ¶
type SubscriptionPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionPolicyProperties ¶
type SubscriptionPolicyProperties struct { Policies *[]PolicySummary `json:"policies,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ViewChargesPolicy ¶
type ViewChargesPolicy string
const ( ViewChargesPolicyAllowed ViewChargesPolicy = "Allowed" ViewChargesPolicyNotAllowed ViewChargesPolicy = "NotAllowed" ViewChargesPolicyOther ViewChargesPolicy = "Other" )
func (*ViewChargesPolicy) UnmarshalJSON ¶
func (s *ViewChargesPolicy) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingprofile.go
- id_billingprofilecustomer.go
- id_customer.go
- method_policiescreateorupdatebybillingaccount.go
- method_policiescreateorupdatebybillingprofile.go
- method_policiescreateorupdatebycustomer.go
- method_policiescreateorupdatebycustomeratbillingaccount.go
- method_policiesgetbybillingaccount.go
- method_policiesgetbybillingprofile.go
- method_policiesgetbycustomer.go
- method_policiesgetbycustomeratbillingaccount.go
- method_policiesgetbysubscription.go
- model_billingaccountpolicy.go
- model_billingaccountpolicyproperties.go
- model_billingprofilepolicy.go
- model_billingprofilepolicyproperties.go
- model_customerpolicy.go
- model_customerpolicyproperties.go
- model_enterpriseagreementpolicies.go
- model_policysummary.go
- model_subscriptionpolicy.go
- model_subscriptionpolicyproperties.go
- version.go