...

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

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

     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 locks
    11  
    12  import (
    13  	"context"
    14  
    15  	original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2020-05-01/locks"
    16  )
    17  
    18  const (
    19  	DefaultBaseURI = original.DefaultBaseURI
    20  )
    21  
    22  type CreatedByType = original.CreatedByType
    23  
    24  const (
    25  	Application     CreatedByType = original.Application
    26  	Key             CreatedByType = original.Key
    27  	ManagedIdentity CreatedByType = original.ManagedIdentity
    28  	User            CreatedByType = original.User
    29  )
    30  
    31  type LockLevel = original.LockLevel
    32  
    33  const (
    34  	CanNotDelete LockLevel = original.CanNotDelete
    35  	NotSpecified LockLevel = original.NotSpecified
    36  	ReadOnly     LockLevel = original.ReadOnly
    37  )
    38  
    39  type AuthorizationOperationsClient = original.AuthorizationOperationsClient
    40  type BaseClient = original.BaseClient
    41  type ErrorAdditionalInfo = original.ErrorAdditionalInfo
    42  type ErrorDetail = original.ErrorDetail
    43  type ErrorResponse = original.ErrorResponse
    44  type ManagementLockListResult = original.ManagementLockListResult
    45  type ManagementLockListResultIterator = original.ManagementLockListResultIterator
    46  type ManagementLockListResultPage = original.ManagementLockListResultPage
    47  type ManagementLockObject = original.ManagementLockObject
    48  type ManagementLockOwner = original.ManagementLockOwner
    49  type ManagementLockProperties = original.ManagementLockProperties
    50  type ManagementLocksClient = original.ManagementLocksClient
    51  type Operation = original.Operation
    52  type OperationDisplay = original.OperationDisplay
    53  type OperationListResult = original.OperationListResult
    54  type OperationListResultIterator = original.OperationListResultIterator
    55  type OperationListResultPage = original.OperationListResultPage
    56  type SystemData = original.SystemData
    57  
    58  func New(subscriptionID string) BaseClient {
    59  	return original.New(subscriptionID)
    60  }
    61  func NewAuthorizationOperationsClient(subscriptionID string) AuthorizationOperationsClient {
    62  	return original.NewAuthorizationOperationsClient(subscriptionID)
    63  }
    64  func NewAuthorizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationOperationsClient {
    65  	return original.NewAuthorizationOperationsClientWithBaseURI(baseURI, subscriptionID)
    66  }
    67  func NewManagementLockListResultIterator(page ManagementLockListResultPage) ManagementLockListResultIterator {
    68  	return original.NewManagementLockListResultIterator(page)
    69  }
    70  func NewManagementLockListResultPage(cur ManagementLockListResult, getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage {
    71  	return original.NewManagementLockListResultPage(cur, getNextPage)
    72  }
    73  func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
    74  	return original.NewManagementLocksClient(subscriptionID)
    75  }
    76  func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
    77  	return original.NewManagementLocksClientWithBaseURI(baseURI, subscriptionID)
    78  }
    79  func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
    80  	return original.NewOperationListResultIterator(page)
    81  }
    82  func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
    83  	return original.NewOperationListResultPage(cur, getNextPage)
    84  }
    85  func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
    86  	return original.NewWithBaseURI(baseURI, subscriptionID)
    87  }
    88  func PossibleCreatedByTypeValues() []CreatedByType {
    89  	return original.PossibleCreatedByTypeValues()
    90  }
    91  func PossibleLockLevelValues() []LockLevel {
    92  	return original.PossibleLockLevelValues()
    93  }
    94  func UserAgent() string {
    95  	return original.UserAgent() + " profiles/preview"
    96  }
    97  func Version() string {
    98  	return original.Version()
    99  }
   100  

View as plain text