...

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

Documentation: github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/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/2015-01-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 BaseClient = original.BaseClient
    31  type ManagementLockListResult = original.ManagementLockListResult
    32  type ManagementLockListResultIterator = original.ManagementLockListResultIterator
    33  type ManagementLockListResultPage = original.ManagementLockListResultPage
    34  type ManagementLockObject = original.ManagementLockObject
    35  type ManagementLockProperties = original.ManagementLockProperties
    36  type ManagementLocksClient = original.ManagementLocksClient
    37  
    38  func New(subscriptionID string) BaseClient {
    39  	return original.New(subscriptionID)
    40  }
    41  func NewManagementLockListResultIterator(page ManagementLockListResultPage) ManagementLockListResultIterator {
    42  	return original.NewManagementLockListResultIterator(page)
    43  }
    44  func NewManagementLockListResultPage(cur ManagementLockListResult, getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage {
    45  	return original.NewManagementLockListResultPage(cur, getNextPage)
    46  }
    47  func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
    48  	return original.NewManagementLocksClient(subscriptionID)
    49  }
    50  func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
    51  	return original.NewManagementLocksClientWithBaseURI(baseURI, subscriptionID)
    52  }
    53  func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
    54  	return original.NewWithBaseURI(baseURI, subscriptionID)
    55  }
    56  func PossibleLockLevelValues() []LockLevel {
    57  	return original.PossibleLockLevelValues()
    58  }
    59  func UserAgent() string {
    60  	return original.UserAgent() + " profiles/2017-03-09"
    61  }
    62  func Version() string {
    63  	return original.Version()
    64  }
    65  

View as plain text