|
| 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 hardwaresecuritymodules |
| 11 | + |
| 12 | +import ( |
| 13 | + "context" |
| 14 | + |
| 15 | + original "github.com/Azure/azure-sdk-for-go/services/hardwaresecuritymodules/mgmt/2021-11-30/hardwaresecuritymodules" |
| 16 | +) |
| 17 | + |
| 18 | +const ( |
| 19 | + DefaultBaseURI = original.DefaultBaseURI |
| 20 | +) |
| 21 | + |
| 22 | +type IdentityType = original.IdentityType |
| 23 | + |
| 24 | +const ( |
| 25 | + IdentityTypeApplication IdentityType = original.IdentityTypeApplication |
| 26 | + IdentityTypeKey IdentityType = original.IdentityTypeKey |
| 27 | + IdentityTypeManagedIdentity IdentityType = original.IdentityTypeManagedIdentity |
| 28 | + IdentityTypeUser IdentityType = original.IdentityTypeUser |
| 29 | +) |
| 30 | + |
| 31 | +type JSONWebKeyType = original.JSONWebKeyType |
| 32 | + |
| 33 | +const ( |
| 34 | + JSONWebKeyTypeAllocating JSONWebKeyType = original.JSONWebKeyTypeAllocating |
| 35 | + JSONWebKeyTypeCheckingQuota JSONWebKeyType = original.JSONWebKeyTypeCheckingQuota |
| 36 | + JSONWebKeyTypeConnecting JSONWebKeyType = original.JSONWebKeyTypeConnecting |
| 37 | + JSONWebKeyTypeDeleting JSONWebKeyType = original.JSONWebKeyTypeDeleting |
| 38 | + JSONWebKeyTypeFailed JSONWebKeyType = original.JSONWebKeyTypeFailed |
| 39 | + JSONWebKeyTypeProvisioning JSONWebKeyType = original.JSONWebKeyTypeProvisioning |
| 40 | + JSONWebKeyTypeSucceeded JSONWebKeyType = original.JSONWebKeyTypeSucceeded |
| 41 | +) |
| 42 | + |
| 43 | +type SkuName = original.SkuName |
| 44 | + |
| 45 | +const ( |
| 46 | + SkuNamePayShield10KLMK1CPS250 SkuName = original.SkuNamePayShield10KLMK1CPS250 |
| 47 | + SkuNamePayShield10KLMK1CPS2500 SkuName = original.SkuNamePayShield10KLMK1CPS2500 |
| 48 | + SkuNamePayShield10KLMK1CPS60 SkuName = original.SkuNamePayShield10KLMK1CPS60 |
| 49 | + SkuNamePayShield10KLMK2CPS250 SkuName = original.SkuNamePayShield10KLMK2CPS250 |
| 50 | + SkuNamePayShield10KLMK2CPS2500 SkuName = original.SkuNamePayShield10KLMK2CPS2500 |
| 51 | + SkuNamePayShield10KLMK2CPS60 SkuName = original.SkuNamePayShield10KLMK2CPS60 |
| 52 | + SkuNameSafeNetLunaNetworkHSMA790 SkuName = original.SkuNameSafeNetLunaNetworkHSMA790 |
| 53 | +) |
| 54 | + |
| 55 | +type APIEntityReference = original.APIEntityReference |
| 56 | +type BaseClient = original.BaseClient |
| 57 | +type DedicatedHsm = original.DedicatedHsm |
| 58 | +type DedicatedHsmClient = original.DedicatedHsmClient |
| 59 | +type DedicatedHsmCreateOrUpdateFuture = original.DedicatedHsmCreateOrUpdateFuture |
| 60 | +type DedicatedHsmDeleteFuture = original.DedicatedHsmDeleteFuture |
| 61 | +type DedicatedHsmError = original.DedicatedHsmError |
| 62 | +type DedicatedHsmListResult = original.DedicatedHsmListResult |
| 63 | +type DedicatedHsmListResultIterator = original.DedicatedHsmListResultIterator |
| 64 | +type DedicatedHsmListResultPage = original.DedicatedHsmListResultPage |
| 65 | +type DedicatedHsmOperation = original.DedicatedHsmOperation |
| 66 | +type DedicatedHsmOperationDisplay = original.DedicatedHsmOperationDisplay |
| 67 | +type DedicatedHsmOperationListResult = original.DedicatedHsmOperationListResult |
| 68 | +type DedicatedHsmPatchParameters = original.DedicatedHsmPatchParameters |
| 69 | +type DedicatedHsmProperties = original.DedicatedHsmProperties |
| 70 | +type DedicatedHsmUpdateFuture = original.DedicatedHsmUpdateFuture |
| 71 | +type EndpointDependency = original.EndpointDependency |
| 72 | +type EndpointDetail = original.EndpointDetail |
| 73 | +type Error = original.Error |
| 74 | +type NetworkInterface = original.NetworkInterface |
| 75 | +type NetworkProfile = original.NetworkProfile |
| 76 | +type OperationsClient = original.OperationsClient |
| 77 | +type OutboundEnvironmentEndpoint = original.OutboundEnvironmentEndpoint |
| 78 | +type OutboundEnvironmentEndpointCollection = original.OutboundEnvironmentEndpointCollection |
| 79 | +type OutboundEnvironmentEndpointCollectionIterator = original.OutboundEnvironmentEndpointCollectionIterator |
| 80 | +type OutboundEnvironmentEndpointCollectionPage = original.OutboundEnvironmentEndpointCollectionPage |
| 81 | +type Resource = original.Resource |
| 82 | +type ResourceListResult = original.ResourceListResult |
| 83 | +type Sku = original.Sku |
| 84 | +type SystemData = original.SystemData |
| 85 | + |
| 86 | +func New(subscriptionID string) BaseClient { |
| 87 | + return original.New(subscriptionID) |
| 88 | +} |
| 89 | +func NewDedicatedHsmClient(subscriptionID string) DedicatedHsmClient { |
| 90 | + return original.NewDedicatedHsmClient(subscriptionID) |
| 91 | +} |
| 92 | +func NewDedicatedHsmClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHsmClient { |
| 93 | + return original.NewDedicatedHsmClientWithBaseURI(baseURI, subscriptionID) |
| 94 | +} |
| 95 | +func NewDedicatedHsmListResultIterator(page DedicatedHsmListResultPage) DedicatedHsmListResultIterator { |
| 96 | + return original.NewDedicatedHsmListResultIterator(page) |
| 97 | +} |
| 98 | +func NewDedicatedHsmListResultPage(cur DedicatedHsmListResult, getNextPage func(context.Context, DedicatedHsmListResult) (DedicatedHsmListResult, error)) DedicatedHsmListResultPage { |
| 99 | + return original.NewDedicatedHsmListResultPage(cur, getNextPage) |
| 100 | +} |
| 101 | +func NewOperationsClient(subscriptionID string) OperationsClient { |
| 102 | + return original.NewOperationsClient(subscriptionID) |
| 103 | +} |
| 104 | +func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { |
| 105 | + return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID) |
| 106 | +} |
| 107 | +func NewOutboundEnvironmentEndpointCollectionIterator(page OutboundEnvironmentEndpointCollectionPage) OutboundEnvironmentEndpointCollectionIterator { |
| 108 | + return original.NewOutboundEnvironmentEndpointCollectionIterator(page) |
| 109 | +} |
| 110 | +func NewOutboundEnvironmentEndpointCollectionPage(cur OutboundEnvironmentEndpointCollection, getNextPage func(context.Context, OutboundEnvironmentEndpointCollection) (OutboundEnvironmentEndpointCollection, error)) OutboundEnvironmentEndpointCollectionPage { |
| 111 | + return original.NewOutboundEnvironmentEndpointCollectionPage(cur, getNextPage) |
| 112 | +} |
| 113 | +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { |
| 114 | + return original.NewWithBaseURI(baseURI, subscriptionID) |
| 115 | +} |
| 116 | +func PossibleIdentityTypeValues() []IdentityType { |
| 117 | + return original.PossibleIdentityTypeValues() |
| 118 | +} |
| 119 | +func PossibleJSONWebKeyTypeValues() []JSONWebKeyType { |
| 120 | + return original.PossibleJSONWebKeyTypeValues() |
| 121 | +} |
| 122 | +func PossibleSkuNameValues() []SkuName { |
| 123 | + return original.PossibleSkuNameValues() |
| 124 | +} |
| 125 | +func UserAgent() string { |
| 126 | + return original.UserAgent() + " profiles/latest" |
| 127 | +} |
| 128 | +func Version() string { |
| 129 | + return original.Version() |
| 130 | +} |
0 commit comments