func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
BaseClient is the base client for Managedvirtualnetwork.
type BaseClient struct { autorest.Client Endpoint string }
func New(endpoint string) BaseClient
New creates an instance of the BaseClient client.
func NewWithoutDefaults(endpoint string) BaseClient
NewWithoutDefaults creates an instance of the BaseClient client.
ManagedPrivateEndpoint managed private endpoint
type ManagedPrivateEndpoint struct { autorest.Response `json:"-"` // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Properties - Managed private endpoint properties Properties *ManagedPrivateEndpointProperties `json:"properties,omitempty"` }
func (mpe ManagedPrivateEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedPrivateEndpoint.
ManagedPrivateEndpointConnectionState the connection state of a managed private endpoint
type ManagedPrivateEndpointConnectionState struct { // Status - READ-ONLY; The approval status Status *string `json:"status,omitempty"` // Description - The managed private endpoint description Description *string `json:"description,omitempty"` // ActionsRequired - The actions required on the managed private endpoint ActionsRequired *string `json:"actionsRequired,omitempty"` }
func (mpecs ManagedPrivateEndpointConnectionState) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedPrivateEndpointConnectionState.
ManagedPrivateEndpointListResponse a list of managed private endpoints
type ManagedPrivateEndpointListResponse struct { autorest.Response `json:"-"` // Value - List of managed private endpoints Value *[]ManagedPrivateEndpoint `json:"value,omitempty"` // NextLink - READ-ONLY; The link to the next page of results, if any remaining results exist. NextLink *string `json:"nextLink,omitempty"` }
func (mpelr ManagedPrivateEndpointListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (mpelr ManagedPrivateEndpointListResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedPrivateEndpointListResponse.
ManagedPrivateEndpointListResponseIterator provides access to a complete listing of ManagedPrivateEndpoint values.
type ManagedPrivateEndpointListResponseIterator struct {
// contains filtered or unexported fields
}
func NewManagedPrivateEndpointListResponseIterator(page ManagedPrivateEndpointListResponsePage) ManagedPrivateEndpointListResponseIterator
Creates a new instance of the ManagedPrivateEndpointListResponseIterator type.
func (iter *ManagedPrivateEndpointListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *ManagedPrivateEndpointListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter ManagedPrivateEndpointListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ManagedPrivateEndpointListResponseIterator) Response() ManagedPrivateEndpointListResponse
Response returns the raw server response from the last page request.
func (iter ManagedPrivateEndpointListResponseIterator) Value() ManagedPrivateEndpoint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ManagedPrivateEndpointListResponsePage contains a page of ManagedPrivateEndpoint values.
type ManagedPrivateEndpointListResponsePage struct {
// contains filtered or unexported fields
}
func NewManagedPrivateEndpointListResponsePage(cur ManagedPrivateEndpointListResponse, getNextPage func(context.Context, ManagedPrivateEndpointListResponse) (ManagedPrivateEndpointListResponse, error)) ManagedPrivateEndpointListResponsePage
Creates a new instance of the ManagedPrivateEndpointListResponsePage type.
func (page *ManagedPrivateEndpointListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *ManagedPrivateEndpointListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page ManagedPrivateEndpointListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ManagedPrivateEndpointListResponsePage) Response() ManagedPrivateEndpointListResponse
Response returns the raw server response from the last page request.
func (page ManagedPrivateEndpointListResponsePage) Values() []ManagedPrivateEndpoint
Values returns the slice of values for the current page or nil if there are no values.
ManagedPrivateEndpointProperties properties of a managed private endpoint
type ManagedPrivateEndpointProperties struct { // PrivateLinkResourceID - The ARM resource ID of the resource to which the managed private endpoint is created PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"` // GroupID - The groupId to which the managed private endpoint is created GroupID *string `json:"groupId,omitempty"` // ProvisioningState - READ-ONLY; The managed private endpoint provisioning state ProvisioningState *string `json:"provisioningState,omitempty"` // ConnectionState - The managed private endpoint connection state ConnectionState *ManagedPrivateEndpointConnectionState `json:"connectionState,omitempty"` // IsReserved - READ-ONLY; Denotes whether the managed private endpoint is reserved IsReserved *bool `json:"isReserved,omitempty"` }
func (mpep ManagedPrivateEndpointProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedPrivateEndpointProperties.
ManagedPrivateEndpointsClient is the client for the ManagedPrivateEndpoints methods of the Managedvirtualnetwork service.
type ManagedPrivateEndpointsClient struct { BaseClient }
func NewManagedPrivateEndpointsClient(endpoint string) ManagedPrivateEndpointsClient
NewManagedPrivateEndpointsClient creates an instance of the ManagedPrivateEndpointsClient client.
func (client ManagedPrivateEndpointsClient) Create(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string, managedPrivateEndpoint ManagedPrivateEndpoint) (result ManagedPrivateEndpoint, err error)
Create create Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name managedPrivateEndpoint - managed private endpoint properties.
func (client ManagedPrivateEndpointsClient) CreatePreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string, managedPrivateEndpoint ManagedPrivateEndpoint) (*http.Request, error)
CreatePreparer prepares the Create request.
func (client ManagedPrivateEndpointsClient) CreateResponder(resp *http.Response) (result ManagedPrivateEndpoint, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (client ManagedPrivateEndpointsClient) CreateSender(req *http.Request) (*http.Response, error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client ManagedPrivateEndpointsClient) Delete(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (result autorest.Response, err error)
Delete delete Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name
func (client ManagedPrivateEndpointsClient) DeletePreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ManagedPrivateEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (client ManagedPrivateEndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ManagedPrivateEndpointsClient) Get(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (result ManagedPrivateEndpoint, err error)
Get get Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name
func (client ManagedPrivateEndpointsClient) GetPreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ManagedPrivateEndpointsClient) GetResponder(resp *http.Response) (result ManagedPrivateEndpoint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ManagedPrivateEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client ManagedPrivateEndpointsClient) List(ctx context.Context, managedVirtualNetworkName string) (result ManagedPrivateEndpointListResponsePage, err error)
List list Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name
func (client ManagedPrivateEndpointsClient) ListComplete(ctx context.Context, managedVirtualNetworkName string) (result ManagedPrivateEndpointListResponseIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ManagedPrivateEndpointsClient) ListPreparer(ctx context.Context, managedVirtualNetworkName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ManagedPrivateEndpointsClient) ListResponder(resp *http.Response) (result ManagedPrivateEndpointListResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ManagedPrivateEndpointsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
Name | Synopsis |
---|---|
.. | |
managedvirtualnetworkapi |