...

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

Documentation: github.com/Azure/azure-sdk-for-go/profiles/2020-09-01/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/2016-09-01/locks"
    16  )
    17  
    18  const (
    19  	DefaultBaseURI = original.DefaultBaseURI
    20  )
    21  
    22  type LockLevel = original.LockLevel
    23  
    24  const (
    25  	CanNotDelete LockLevel = original.CanNotDelete
    26  	NotSpecified LockLevel = original.NotSpecified
    27  	ReadOnly     LockLevel = original.ReadOnly
    28  )
    29  
    30  type AuthorizationOperationsClient = original.AuthorizationOperationsClient
    31  type BaseClient = original.BaseClient
    32  type ManagementLockListResult = original.ManagementLockListResult
    33  type ManagementLockListResultIterator = original.ManagementLockListResultIterator
    34  type ManagementLockListResultPage = original.ManagementLockListResultPage
    35  type ManagementLockObject = original.ManagementLockObject
    36  type ManagementLockOwner = original.ManagementLockOwner
    37  type ManagementLockProperties = original.ManagementLockProperties
    38  type ManagementLocksClient = original.ManagementLocksClient
    39  type Operation = original.Operation
    40  type OperationDisplay = original.OperationDisplay
    41  type OperationListResult = original.OperationListResult
    42  type OperationListResultIterator = original.OperationListResultIterator
    43  type OperationListResultPage = original.OperationListResultPage
    44  
    45  func New(subscriptionID string) BaseClient {
    46  	return original.New(subscriptionID)
    47  }
    48  func NewAuthorizationOperationsClient(subscriptionID string) AuthorizationOperationsClient {
    49  	return original.NewAuthorizationOperationsClient(subscriptionID)
    50  }
    51  func NewAuthorizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationOperationsClient {
    52  	return original.NewAuthorizationOperationsClientWithBaseURI(baseURI, subscriptionID)
    53  }
    54  func NewManagementLockListResultIterator(page ManagementLockListResultPage) ManagementLockListResultIterator {
    55  	return original.NewManagementLockListResultIterator(page)
    56  }
    57  func NewManagementLockListResultPage(cur ManagementLockListResult, getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage {
    58  	return original.NewManagementLockListResultPage(cur, getNextPage)
    59  }
    60  func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
    61  	return original.NewManagementLocksClient(subscriptionID)
    62  }
    63  func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
    64  	return original.NewManagementLocksClientWithBaseURI(baseURI, subscriptionID)
    65  }
    66  func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
    67  	return original.NewOperationListResultIterator(page)
    68  }
    69  func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
    70  	return original.NewOperationListResultPage(cur, getNextPage)
    71  }
    72  func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
    73  	return original.NewWithBaseURI(baseURI, subscriptionID)
    74  }
    75  func PossibleLockLevelValues() []LockLevel {
    76  	return original.PossibleLockLevelValues()
    77  }
    78  func UserAgent() string {
    79  	return original.UserAgent() + " profiles/2020-09-01"
    80  }
    81  func Version() string {
    82  	return original.Version()
    83  }
    84  

View as plain text