...

Source file src/github.com/Azure/azure-sdk-for-go/profiles/preview/resources/mgmt/subscriptions/models.go

Documentation: github.com/Azure/azure-sdk-for-go/profiles/preview/resources/mgmt/subscriptions

     1  //go:build go1.9
     2  // +build go1.9
     3  
     4  // Copyright (c) Microsoft Corporation. All rights reserved.
     5  // Licensed under the MIT License. See License.txt in the project root for license information.
     6  
     7  // This code was auto-generated by:
     8  // github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
     9  
    10  package subscriptions
    11  
    12  import (
    13  	"context"
    14  
    15  	original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2021-01-01/subscriptions"
    16  )
    17  
    18  const (
    19  	DefaultBaseURI = original.DefaultBaseURI
    20  )
    21  
    22  type LocationType = original.LocationType
    23  
    24  const (
    25  	LocationTypeEdgeZone LocationType = original.LocationTypeEdgeZone
    26  	LocationTypeRegion   LocationType = original.LocationTypeRegion
    27  )
    28  
    29  type RegionCategory = original.RegionCategory
    30  
    31  const (
    32  	RegionCategoryExtended    RegionCategory = original.RegionCategoryExtended
    33  	RegionCategoryOther       RegionCategory = original.RegionCategoryOther
    34  	RegionCategoryRecommended RegionCategory = original.RegionCategoryRecommended
    35  )
    36  
    37  type RegionType = original.RegionType
    38  
    39  const (
    40  	RegionTypeLogical  RegionType = original.RegionTypeLogical
    41  	RegionTypePhysical RegionType = original.RegionTypePhysical
    42  )
    43  
    44  type ResourceNameStatus = original.ResourceNameStatus
    45  
    46  const (
    47  	ResourceNameStatusAllowed  ResourceNameStatus = original.ResourceNameStatusAllowed
    48  	ResourceNameStatusReserved ResourceNameStatus = original.ResourceNameStatusReserved
    49  )
    50  
    51  type SpendingLimit = original.SpendingLimit
    52  
    53  const (
    54  	SpendingLimitCurrentPeriodOff SpendingLimit = original.SpendingLimitCurrentPeriodOff
    55  	SpendingLimitOff              SpendingLimit = original.SpendingLimitOff
    56  	SpendingLimitOn               SpendingLimit = original.SpendingLimitOn
    57  )
    58  
    59  type State = original.State
    60  
    61  const (
    62  	StateDeleted  State = original.StateDeleted
    63  	StateDisabled State = original.StateDisabled
    64  	StateEnabled  State = original.StateEnabled
    65  	StatePastDue  State = original.StatePastDue
    66  	StateWarned   State = original.StateWarned
    67  )
    68  
    69  type TenantCategory = original.TenantCategory
    70  
    71  const (
    72  	TenantCategoryHome        TenantCategory = original.TenantCategoryHome
    73  	TenantCategoryManagedBy   TenantCategory = original.TenantCategoryManagedBy
    74  	TenantCategoryProjectedBy TenantCategory = original.TenantCategoryProjectedBy
    75  )
    76  
    77  type BaseClient = original.BaseClient
    78  type CheckResourceNameResult = original.CheckResourceNameResult
    79  type Client = original.Client
    80  type CloudError = original.CloudError
    81  type ErrorAdditionalInfo = original.ErrorAdditionalInfo
    82  type ErrorResponse = original.ErrorResponse
    83  type ListResult = original.ListResult
    84  type ListResultIterator = original.ListResultIterator
    85  type ListResultPage = original.ListResultPage
    86  type Location = original.Location
    87  type LocationListResult = original.LocationListResult
    88  type LocationMetadata = original.LocationMetadata
    89  type ManagedByTenant = original.ManagedByTenant
    90  type Operation = original.Operation
    91  type OperationDisplay = original.OperationDisplay
    92  type OperationListResult = original.OperationListResult
    93  type OperationListResultIterator = original.OperationListResultIterator
    94  type OperationListResultPage = original.OperationListResultPage
    95  type OperationsClient = original.OperationsClient
    96  type PairedRegion = original.PairedRegion
    97  type Policies = original.Policies
    98  type ResourceName = original.ResourceName
    99  type Subscription = original.Subscription
   100  type TenantIDDescription = original.TenantIDDescription
   101  type TenantListResult = original.TenantListResult
   102  type TenantListResultIterator = original.TenantListResultIterator
   103  type TenantListResultPage = original.TenantListResultPage
   104  type TenantsClient = original.TenantsClient
   105  
   106  func New() BaseClient {
   107  	return original.New()
   108  }
   109  func NewClient() Client {
   110  	return original.NewClient()
   111  }
   112  func NewClientWithBaseURI(baseURI string) Client {
   113  	return original.NewClientWithBaseURI(baseURI)
   114  }
   115  func NewListResultIterator(page ListResultPage) ListResultIterator {
   116  	return original.NewListResultIterator(page)
   117  }
   118  func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
   119  	return original.NewListResultPage(cur, getNextPage)
   120  }
   121  func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
   122  	return original.NewOperationListResultIterator(page)
   123  }
   124  func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
   125  	return original.NewOperationListResultPage(cur, getNextPage)
   126  }
   127  func NewOperationsClient() OperationsClient {
   128  	return original.NewOperationsClient()
   129  }
   130  func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
   131  	return original.NewOperationsClientWithBaseURI(baseURI)
   132  }
   133  func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator {
   134  	return original.NewTenantListResultIterator(page)
   135  }
   136  func NewTenantListResultPage(cur TenantListResult, getNextPage func(context.Context, TenantListResult) (TenantListResult, error)) TenantListResultPage {
   137  	return original.NewTenantListResultPage(cur, getNextPage)
   138  }
   139  func NewTenantsClient() TenantsClient {
   140  	return original.NewTenantsClient()
   141  }
   142  func NewTenantsClientWithBaseURI(baseURI string) TenantsClient {
   143  	return original.NewTenantsClientWithBaseURI(baseURI)
   144  }
   145  func NewWithBaseURI(baseURI string) BaseClient {
   146  	return original.NewWithBaseURI(baseURI)
   147  }
   148  func PossibleLocationTypeValues() []LocationType {
   149  	return original.PossibleLocationTypeValues()
   150  }
   151  func PossibleRegionCategoryValues() []RegionCategory {
   152  	return original.PossibleRegionCategoryValues()
   153  }
   154  func PossibleRegionTypeValues() []RegionType {
   155  	return original.PossibleRegionTypeValues()
   156  }
   157  func PossibleResourceNameStatusValues() []ResourceNameStatus {
   158  	return original.PossibleResourceNameStatusValues()
   159  }
   160  func PossibleSpendingLimitValues() []SpendingLimit {
   161  	return original.PossibleSpendingLimitValues()
   162  }
   163  func PossibleStateValues() []State {
   164  	return original.PossibleStateValues()
   165  }
   166  func PossibleTenantCategoryValues() []TenantCategory {
   167  	return original.PossibleTenantCategoryValues()
   168  }
   169  func UserAgent() string {
   170  	return original.UserAgent() + " profiles/preview"
   171  }
   172  func Version() string {
   173  	return original.Version()
   174  }
   175  

View as plain text