const ( // DefaultBaseURI is the default URI used for the service Network DefaultBaseURI = "https://management.azure.com" )
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.
AadAuthenticationParameters AAD Vpn authentication type related parameters.
type AadAuthenticationParameters struct { // AadTenant - AAD Vpn authentication parameter AAD tenant. AadTenant *string `json:"aadTenant,omitempty"` // AadAudience - AAD Vpn authentication parameter AAD audience. AadAudience *string `json:"aadAudience,omitempty"` // AadIssuer - AAD Vpn authentication parameter AAD issuer. AadIssuer *string `json:"aadIssuer,omitempty"` }
Access enumerates the values for access.
type Access string
const ( // AccessAllow ... AccessAllow Access = "Allow" // AccessDeny ... AccessDeny Access = "Deny" )
func PossibleAccessValues() []Access
PossibleAccessValues returns an array of possible values for the Access const type.
AddressSpace addressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpace struct { // AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` }
ApplicationGateway application gateway resource.
type ApplicationGateway struct { autorest.Response `json:"-"` // ApplicationGatewayPropertiesFormat - Properties of the application gateway. *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Zones - A list of availability zones denoting where the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // Identity - The identity of the application gateway, if configured. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ag ApplicationGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGateway.
func (ag *ApplicationGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.
ApplicationGatewayAuthenticationCertificate authentication certificates of an application gateway.
type ApplicationGatewayAuthenticationCertificate struct { // ApplicationGatewayAuthenticationCertificatePropertiesFormat - Properties of the application gateway authentication certificate. *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"` // Name - Name of the authentication certificate that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agac ApplicationGatewayAuthenticationCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificate.
func (agac *ApplicationGatewayAuthenticationCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAuthenticationCertificate struct.
ApplicationGatewayAuthenticationCertificatePropertiesFormat authentication certificates properties of an application gateway.
type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct { // Data - Certificate public data. Data *string `json:"data,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the authentication certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agacpf ApplicationGatewayAuthenticationCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificatePropertiesFormat.
ApplicationGatewayAutoscaleConfiguration application Gateway autoscale configuration.
type ApplicationGatewayAutoscaleConfiguration struct { // MinCapacity - Lower bound on number of Application Gateway capacity. MinCapacity *int32 `json:"minCapacity,omitempty"` // MaxCapacity - Upper bound on number of Application Gateway capacity. MaxCapacity *int32 `json:"maxCapacity,omitempty"` }
ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service call.
type ApplicationGatewayAvailableSslOptions struct { autorest.Response `json:"-"` // ApplicationGatewayAvailableSslOptionsPropertiesFormat - Properties of the application gateway available SSL options. *ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (agaso ApplicationGatewayAvailableSslOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAvailableSslOptions.
func (agaso *ApplicationGatewayAvailableSslOptions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAvailableSslOptions struct.
ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of ApplicationGatewayAvailableSslOptions.
type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct { // PredefinedPolicies - List of available Ssl predefined policy. PredefinedPolicies *[]SubResource `json:"predefinedPolicies,omitempty"` // DefaultPolicy - Name of the Ssl predefined policy applied by default to application gateway. Possible values include: 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20150501', 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401', 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401S' DefaultPolicy ApplicationGatewaySslPolicyName `json:"defaultPolicy,omitempty"` // AvailableCipherSuites - List of available Ssl cipher suites. AvailableCipherSuites *[]ApplicationGatewaySslCipherSuite `json:"availableCipherSuites,omitempty"` // AvailableProtocols - List of available Ssl protocols. AvailableProtocols *[]ApplicationGatewaySslProtocol `json:"availableProtocols,omitempty"` }
ApplicationGatewayAvailableSslPredefinedPolicies response for ApplicationGatewayAvailableSslOptions API service call.
type ApplicationGatewayAvailableSslPredefinedPolicies struct { autorest.Response `json:"-"` // Value - List of available Ssl predefined policy. Value *[]ApplicationGatewaySslPredefinedPolicy `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (agaspp ApplicationGatewayAvailableSslPredefinedPolicies) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ApplicationGatewayAvailableSslPredefinedPoliciesIterator provides access to a complete listing of ApplicationGatewaySslPredefinedPolicy values.
type ApplicationGatewayAvailableSslPredefinedPoliciesIterator struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator(page ApplicationGatewayAvailableSslPredefinedPoliciesPage) ApplicationGatewayAvailableSslPredefinedPoliciesIterator
Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesIterator type.
func (iter *ApplicationGatewayAvailableSslPredefinedPoliciesIterator) 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 *ApplicationGatewayAvailableSslPredefinedPoliciesIterator) 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 ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Response() ApplicationGatewayAvailableSslPredefinedPolicies
Response returns the raw server response from the last page request.
func (iter ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Value() ApplicationGatewaySslPredefinedPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationGatewayAvailableSslPredefinedPoliciesPage contains a page of ApplicationGatewaySslPredefinedPolicy values.
type ApplicationGatewayAvailableSslPredefinedPoliciesPage struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayAvailableSslPredefinedPoliciesPage(cur ApplicationGatewayAvailableSslPredefinedPolicies, getNextPage func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error)) ApplicationGatewayAvailableSslPredefinedPoliciesPage
Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesPage type.
func (page *ApplicationGatewayAvailableSslPredefinedPoliciesPage) 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 *ApplicationGatewayAvailableSslPredefinedPoliciesPage) 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 ApplicationGatewayAvailableSslPredefinedPoliciesPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) Response() ApplicationGatewayAvailableSslPredefinedPolicies
Response returns the raw server response from the last page request.
func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) Values() []ApplicationGatewaySslPredefinedPolicy
Values returns the slice of values for the current page or nil if there are no values.
ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API service call.
type ApplicationGatewayAvailableWafRuleSetsResult struct { autorest.Response `json:"-"` // Value - The list of application gateway rule sets. Value *[]ApplicationGatewayFirewallRuleSet `json:"value,omitempty"` }
ApplicationGatewayBackendAddress backend address of an application gateway.
type ApplicationGatewayBackendAddress struct { // Fqdn - Fully qualified domain name (FQDN). Fqdn *string `json:"fqdn,omitempty"` // IPAddress - IP address. IPAddress *string `json:"ipAddress,omitempty"` }
ApplicationGatewayBackendAddressPool backend Address Pool of an application gateway.
type ApplicationGatewayBackendAddressPool struct { // ApplicationGatewayBackendAddressPoolPropertiesFormat - Properties of the application gateway backend address pool. *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` // Name - Name of the backend address pool that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agbap ApplicationGatewayBackendAddressPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPool.
func (agbap *ApplicationGatewayBackendAddressPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendAddressPool struct.
ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an application gateway.
type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { // BackendIPConfigurations - READ-ONLY; Collection of references to IPs defined in network interfaces. BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` // BackendAddresses - Backend addresses. BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the backend address pool resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agbappf ApplicationGatewayBackendAddressPoolPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPoolPropertiesFormat.
ApplicationGatewayBackendHTTPSettings backend address pool settings of an application gateway.
type ApplicationGatewayBackendHTTPSettings struct { // ApplicationGatewayBackendHTTPSettingsPropertiesFormat - Properties of the application gateway backend HTTP settings. *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"` // Name - Name of the backend http settings that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agbhs ApplicationGatewayBackendHTTPSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettings.
func (agbhs *ApplicationGatewayBackendHTTPSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendHTTPSettings struct.
ApplicationGatewayBackendHTTPSettingsPropertiesFormat properties of Backend address pool settings of an application gateway.
type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct { // Port - The destination port on the backend. Port *int32 `json:"port,omitempty"` // Protocol - The protocol used to communicate with the backend. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // CookieBasedAffinity - Cookie based affinity. Possible values include: 'ApplicationGatewayCookieBasedAffinityEnabled', 'ApplicationGatewayCookieBasedAffinityDisabled' CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"` // RequestTimeout - Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds. RequestTimeout *int32 `json:"requestTimeout,omitempty"` // Probe - Probe resource of an application gateway. Probe *SubResource `json:"probe,omitempty"` // AuthenticationCertificates - Array of references to application gateway authentication certificates. AuthenticationCertificates *[]SubResource `json:"authenticationCertificates,omitempty"` // TrustedRootCertificates - Array of references to application gateway trusted root certificates. TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` // ConnectionDraining - Connection draining of the backend http settings resource. ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"` // HostName - Host header to be sent to the backend servers. HostName *string `json:"hostName,omitempty"` // PickHostNameFromBackendAddress - Whether to pick host header should be picked from the host name of the backend server. Default value is false. PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` // AffinityCookieName - Cookie name to use for the affinity cookie. AffinityCookieName *string `json:"affinityCookieName,omitempty"` // ProbeEnabled - Whether the probe is enabled. Default value is false. ProbeEnabled *bool `json:"probeEnabled,omitempty"` // Path - Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null. Path *string `json:"path,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the backend HTTP settings resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agbhspf ApplicationGatewayBackendHTTPSettingsPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettingsPropertiesFormat.
ApplicationGatewayBackendHealth response for ApplicationGatewayBackendHealth API service call.
type ApplicationGatewayBackendHealth struct { autorest.Response `json:"-"` // BackendAddressPools - A list of ApplicationGatewayBackendHealthPool resources. BackendAddressPools *[]ApplicationGatewayBackendHealthPool `json:"backendAddressPools,omitempty"` }
ApplicationGatewayBackendHealthHTTPSettings application gateway BackendHealthHttp settings.
type ApplicationGatewayBackendHealthHTTPSettings struct { // BackendHTTPSettings - Reference to an ApplicationGatewayBackendHttpSettings resource. BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettings,omitempty"` // Servers - List of ApplicationGatewayBackendHealthServer resources. Servers *[]ApplicationGatewayBackendHealthServer `json:"servers,omitempty"` }
ApplicationGatewayBackendHealthOnDemand result of on demand test probe.
type ApplicationGatewayBackendHealthOnDemand struct { autorest.Response `json:"-"` // BackendAddressPool - Reference to an ApplicationGatewayBackendAddressPool resource. BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` // BackendHealthHTTPSettings - Application gateway BackendHealthHttp settings. BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings `json:"backendHealthHttpSettings,omitempty"` }
ApplicationGatewayBackendHealthPool application gateway BackendHealth pool.
type ApplicationGatewayBackendHealthPool struct { // BackendAddressPool - Reference to an ApplicationGatewayBackendAddressPool resource. BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` // BackendHTTPSettingsCollection - List of ApplicationGatewayBackendHealthHttpSettings resources. BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` }
ApplicationGatewayBackendHealthServer application gateway backendhealth http settings.
type ApplicationGatewayBackendHealthServer struct { // Address - IP address or FQDN of backend server. Address *string `json:"address,omitempty"` // IPConfiguration - Reference to IP configuration of backend server. IPConfiguration *InterfaceIPConfiguration `json:"ipConfiguration,omitempty"` // Health - Health of backend server. Possible values include: 'ApplicationGatewayBackendHealthServerHealthUnknown', 'ApplicationGatewayBackendHealthServerHealthUp', 'ApplicationGatewayBackendHealthServerHealthDown', 'ApplicationGatewayBackendHealthServerHealthPartial', 'ApplicationGatewayBackendHealthServerHealthDraining' Health ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"` // HealthProbeLog - Health Probe Log. HealthProbeLog *string `json:"healthProbeLog,omitempty"` }
ApplicationGatewayBackendHealthServerHealth enumerates the values for application gateway backend health server health.
type ApplicationGatewayBackendHealthServerHealth string
const ( // ApplicationGatewayBackendHealthServerHealthDown ... ApplicationGatewayBackendHealthServerHealthDown ApplicationGatewayBackendHealthServerHealth = "Down" // ApplicationGatewayBackendHealthServerHealthDraining ... ApplicationGatewayBackendHealthServerHealthDraining ApplicationGatewayBackendHealthServerHealth = "Draining" // ApplicationGatewayBackendHealthServerHealthPartial ... ApplicationGatewayBackendHealthServerHealthPartial ApplicationGatewayBackendHealthServerHealth = "Partial" // ApplicationGatewayBackendHealthServerHealthUnknown ... ApplicationGatewayBackendHealthServerHealthUnknown ApplicationGatewayBackendHealthServerHealth = "Unknown" // ApplicationGatewayBackendHealthServerHealthUp ... ApplicationGatewayBackendHealthServerHealthUp ApplicationGatewayBackendHealthServerHealth = "Up" )
func PossibleApplicationGatewayBackendHealthServerHealthValues() []ApplicationGatewayBackendHealthServerHealth
PossibleApplicationGatewayBackendHealthServerHealthValues returns an array of possible values for the ApplicationGatewayBackendHealthServerHealth const type.
ApplicationGatewayBackendSettings backend address pool settings of an application gateway.
type ApplicationGatewayBackendSettings struct { // ApplicationGatewayBackendSettingsPropertiesFormat - Properties of the application gateway backend settings. *ApplicationGatewayBackendSettingsPropertiesFormat `json:"properties,omitempty"` // Name - Name of the backend settings that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agbs ApplicationGatewayBackendSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendSettings.
func (agbs *ApplicationGatewayBackendSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendSettings struct.
ApplicationGatewayBackendSettingsPropertiesFormat properties of Backend address pool settings of an application gateway.
type ApplicationGatewayBackendSettingsPropertiesFormat struct { // Port - The destination port on the backend. Port *int32 `json:"port,omitempty"` // Protocol - The protocol used to communicate with the backend. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // Timeout - Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds. Timeout *int32 `json:"timeout,omitempty"` // Probe - Probe resource of an application gateway. Probe *SubResource `json:"probe,omitempty"` // TrustedRootCertificates - Array of references to application gateway trusted root certificates. TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"` // HostName - Server name indication to be sent to the backend servers for Tls protocol. HostName *string `json:"hostName,omitempty"` // PickHostNameFromBackendAddress - Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the backend HTTP settings resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agbspf ApplicationGatewayBackendSettingsPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendSettingsPropertiesFormat.
ApplicationGatewayClientAuthConfiguration application gateway client authentication configuration.
type ApplicationGatewayClientAuthConfiguration struct { // VerifyClientCertIssuerDN - Verify client certificate issuer name on the application gateway. VerifyClientCertIssuerDN *bool `json:"verifyClientCertIssuerDN,omitempty"` }
ApplicationGatewayConnectionDraining connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration.
type ApplicationGatewayConnectionDraining struct { // Enabled - Whether connection draining is enabled or not. Enabled *bool `json:"enabled,omitempty"` // DrainTimeoutInSec - The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds. DrainTimeoutInSec *int32 `json:"drainTimeoutInSec,omitempty"` }
ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.
type ApplicationGatewayCookieBasedAffinity string
const ( // ApplicationGatewayCookieBasedAffinityDisabled ... ApplicationGatewayCookieBasedAffinityDisabled ApplicationGatewayCookieBasedAffinity = "Disabled" // ApplicationGatewayCookieBasedAffinityEnabled ... ApplicationGatewayCookieBasedAffinityEnabled ApplicationGatewayCookieBasedAffinity = "Enabled" )
func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity
PossibleApplicationGatewayCookieBasedAffinityValues returns an array of possible values for the ApplicationGatewayCookieBasedAffinity const type.
ApplicationGatewayCustomError customer error of an application gateway.
type ApplicationGatewayCustomError struct { // StatusCode - Status code of the application gateway customer error. Possible values include: 'ApplicationGatewayCustomErrorStatusCodeHTTPStatus403', 'ApplicationGatewayCustomErrorStatusCodeHTTPStatus502' StatusCode ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"` // CustomErrorPageURL - Error page URL of the application gateway customer error. CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"` }
ApplicationGatewayCustomErrorStatusCode enumerates the values for application gateway custom error status code.
type ApplicationGatewayCustomErrorStatusCode string
const ( // ApplicationGatewayCustomErrorStatusCodeHTTPStatus403 ... ApplicationGatewayCustomErrorStatusCodeHTTPStatus403 ApplicationGatewayCustomErrorStatusCode = "HttpStatus403" // ApplicationGatewayCustomErrorStatusCodeHTTPStatus502 ... ApplicationGatewayCustomErrorStatusCodeHTTPStatus502 ApplicationGatewayCustomErrorStatusCode = "HttpStatus502" )
func PossibleApplicationGatewayCustomErrorStatusCodeValues() []ApplicationGatewayCustomErrorStatusCode
PossibleApplicationGatewayCustomErrorStatusCodeValues returns an array of possible values for the ApplicationGatewayCustomErrorStatusCode const type.
ApplicationGatewayFirewallDisabledRuleGroup allows to disable rules within a rule group or an entire rule group.
type ApplicationGatewayFirewallDisabledRuleGroup struct { // RuleGroupName - The name of the rule group that will be disabled. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules - The list of rules that will be disabled. If null, all rules of the rule group will be disabled. Rules *[]int32 `json:"rules,omitempty"` }
ApplicationGatewayFirewallExclusion allow to exclude some variable satisfy the condition for the WAF check.
type ApplicationGatewayFirewallExclusion struct { // MatchVariable - The variable to be excluded. MatchVariable *string `json:"matchVariable,omitempty"` // SelectorMatchOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. SelectorMatchOperator *string `json:"selectorMatchOperator,omitempty"` // Selector - When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. Selector *string `json:"selector,omitempty"` }
ApplicationGatewayFirewallMode enumerates the values for application gateway firewall mode.
type ApplicationGatewayFirewallMode string
const ( // ApplicationGatewayFirewallModeDetection ... ApplicationGatewayFirewallModeDetection ApplicationGatewayFirewallMode = "Detection" // ApplicationGatewayFirewallModePrevention ... ApplicationGatewayFirewallModePrevention ApplicationGatewayFirewallMode = "Prevention" )
func PossibleApplicationGatewayFirewallModeValues() []ApplicationGatewayFirewallMode
PossibleApplicationGatewayFirewallModeValues returns an array of possible values for the ApplicationGatewayFirewallMode const type.
ApplicationGatewayFirewallRule a web application firewall rule.
type ApplicationGatewayFirewallRule struct { // RuleID - The identifier of the web application firewall rule. RuleID *int32 `json:"ruleId,omitempty"` // Description - The description of the web application firewall rule. Description *string `json:"description,omitempty"` }
ApplicationGatewayFirewallRuleGroup a web application firewall rule group.
type ApplicationGatewayFirewallRuleGroup struct { // RuleGroupName - The name of the web application firewall rule group. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Description - The description of the web application firewall rule group. Description *string `json:"description,omitempty"` // Rules - The rules of the web application firewall rule group. Rules *[]ApplicationGatewayFirewallRule `json:"rules,omitempty"` }
ApplicationGatewayFirewallRuleSet a web application firewall rule set.
type ApplicationGatewayFirewallRuleSet struct { // ApplicationGatewayFirewallRuleSetPropertiesFormat - Properties of the application gateway firewall rule set. *ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (agfrs ApplicationGatewayFirewallRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFirewallRuleSet.
func (agfrs *ApplicationGatewayFirewallRuleSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFirewallRuleSet struct.
ApplicationGatewayFirewallRuleSetPropertiesFormat properties of the web application firewall rule set.
type ApplicationGatewayFirewallRuleSetPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the web application firewall rule set. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // RuleSetType - The type of the web application firewall rule set. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion - The version of the web application firewall rule set type. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` // RuleGroups - The rule groups of the web application firewall rule set. RuleGroups *[]ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"` }
func (agfrspf ApplicationGatewayFirewallRuleSetPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFirewallRuleSetPropertiesFormat.
ApplicationGatewayFrontendIPConfiguration frontend IP configuration of an application gateway.
type ApplicationGatewayFrontendIPConfiguration struct { // ApplicationGatewayFrontendIPConfigurationPropertiesFormat - Properties of the application gateway frontend IP configuration. *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the frontend IP configuration that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agfic ApplicationGatewayFrontendIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfiguration.
func (agfic *ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendIPConfiguration struct.
ApplicationGatewayFrontendIPConfigurationPropertiesFormat properties of Frontend IP configuration of an application gateway.
type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct { // PrivateIPAddress - PrivateIPAddress of the network interface IP Configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - Reference to the subnet resource. Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - Reference to the PublicIP resource. PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // PrivateLinkConfiguration - Reference to the application gateway private link configuration. PrivateLinkConfiguration *SubResource `json:"privateLinkConfiguration,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the frontend IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agficpf ApplicationGatewayFrontendIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfigurationPropertiesFormat.
ApplicationGatewayFrontendPort frontend port of an application gateway.
type ApplicationGatewayFrontendPort struct { // ApplicationGatewayFrontendPortPropertiesFormat - Properties of the application gateway frontend port. *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"` // Name - Name of the frontend port that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agfp ApplicationGatewayFrontendPort) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPort.
func (agfp *ApplicationGatewayFrontendPort) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendPort struct.
ApplicationGatewayFrontendPortPropertiesFormat properties of Frontend port of an application gateway.
type ApplicationGatewayFrontendPortPropertiesFormat struct { // Port - Frontend port. Port *int32 `json:"port,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the frontend port resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agfppf ApplicationGatewayFrontendPortPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPortPropertiesFormat.
ApplicationGatewayGlobalConfiguration application Gateway global configuration.
type ApplicationGatewayGlobalConfiguration struct { // EnableRequestBuffering - Enable request buffering. EnableRequestBuffering *bool `json:"enableRequestBuffering,omitempty"` // EnableResponseBuffering - Enable response buffering. EnableResponseBuffering *bool `json:"enableResponseBuffering,omitempty"` }
ApplicationGatewayHTTPListener http listener of an application gateway.
type ApplicationGatewayHTTPListener struct { // ApplicationGatewayHTTPListenerPropertiesFormat - Properties of the application gateway HTTP listener. *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"` // Name - Name of the HTTP listener that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (aghl ApplicationGatewayHTTPListener) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListener.
func (aghl *ApplicationGatewayHTTPListener) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayHTTPListener struct.
ApplicationGatewayHTTPListenerPropertiesFormat properties of HTTP listener of an application gateway.
type ApplicationGatewayHTTPListenerPropertiesFormat struct { // FrontendIPConfiguration - Frontend IP configuration resource of an application gateway. FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // FrontendPort - Frontend port resource of an application gateway. FrontendPort *SubResource `json:"frontendPort,omitempty"` // Protocol - Protocol of the HTTP listener. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // HostName - Host name of HTTP listener. HostName *string `json:"hostName,omitempty"` // SslCertificate - SSL certificate resource of an application gateway. SslCertificate *SubResource `json:"sslCertificate,omitempty"` // SslProfile - SSL profile resource of the application gateway. SslProfile *SubResource `json:"sslProfile,omitempty"` // RequireServerNameIndication - Applicable only if protocol is https. Enables SNI for multi-hosting. RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the HTTP listener resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // CustomErrorConfigurations - Custom error configurations of the HTTP listener. CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` // FirewallPolicy - Reference to the FirewallPolicy resource. FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` // HostNames - List of Host names for HTTP Listener that allows special wildcard characters as well. HostNames *[]string `json:"hostNames,omitempty"` }
func (aghlpf ApplicationGatewayHTTPListenerPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListenerPropertiesFormat.
ApplicationGatewayHeaderConfiguration header configuration of the Actions set in Application Gateway.
type ApplicationGatewayHeaderConfiguration struct { // HeaderName - Header name of the header configuration. HeaderName *string `json:"headerName,omitempty"` // HeaderValue - Header value of the header configuration. HeaderValue *string `json:"headerValue,omitempty"` }
ApplicationGatewayIPConfiguration IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.
type ApplicationGatewayIPConfiguration struct { // ApplicationGatewayIPConfigurationPropertiesFormat - Properties of the application gateway IP configuration. *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the IP configuration that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agic ApplicationGatewayIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayIPConfiguration.
func (agic *ApplicationGatewayIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayIPConfiguration struct.
ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of an application gateway.
type ApplicationGatewayIPConfigurationPropertiesFormat struct { // Subnet - Reference to the subnet resource. A subnet from where application gateway gets its private address. Subnet *SubResource `json:"subnet,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application gateway IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agicpf ApplicationGatewayIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayIPConfigurationPropertiesFormat.
ApplicationGatewayListResult response for ListApplicationGateways API service call.
type ApplicationGatewayListResult struct { autorest.Response `json:"-"` // Value - List of an application gateways in a resource group. Value *[]ApplicationGateway `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (aglr ApplicationGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ApplicationGatewayListResultIterator provides access to a complete listing of ApplicationGateway values.
type ApplicationGatewayListResultIterator struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator
Creates a new instance of the ApplicationGatewayListResultIterator type.
func (iter *ApplicationGatewayListResultIterator) 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 *ApplicationGatewayListResultIterator) 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 ApplicationGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationGatewayListResultIterator) Response() ApplicationGatewayListResult
Response returns the raw server response from the last page request.
func (iter ApplicationGatewayListResultIterator) Value() ApplicationGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationGatewayListResultPage contains a page of ApplicationGateway values.
type ApplicationGatewayListResultPage struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayListResultPage(cur ApplicationGatewayListResult, getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage
Creates a new instance of the ApplicationGatewayListResultPage type.
func (page *ApplicationGatewayListResultPage) 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 *ApplicationGatewayListResultPage) 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 ApplicationGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationGatewayListResultPage) Response() ApplicationGatewayListResult
Response returns the raw server response from the last page request.
func (page ApplicationGatewayListResultPage) Values() []ApplicationGateway
Values returns the slice of values for the current page or nil if there are no values.
ApplicationGatewayListener listener of an application gateway.
type ApplicationGatewayListener struct { // ApplicationGatewayListenerPropertiesFormat - Properties of the application gateway listener. *ApplicationGatewayListenerPropertiesFormat `json:"properties,omitempty"` // Name - Name of the listener that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agl ApplicationGatewayListener) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayListener.
func (agl *ApplicationGatewayListener) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayListener struct.
ApplicationGatewayListenerPropertiesFormat properties of listener of an application gateway.
type ApplicationGatewayListenerPropertiesFormat struct { // FrontendIPConfiguration - Frontend IP configuration resource of an application gateway. FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // FrontendPort - Frontend port resource of an application gateway. FrontendPort *SubResource `json:"frontendPort,omitempty"` // Protocol - Protocol of the listener. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // SslCertificate - SSL certificate resource of an application gateway. SslCertificate *SubResource `json:"sslCertificate,omitempty"` // SslProfile - SSL profile resource of the application gateway. SslProfile *SubResource `json:"sslProfile,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the listener resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (aglpf ApplicationGatewayListenerPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayListenerPropertiesFormat.
ApplicationGatewayLoadDistributionAlgorithm enumerates the values for application gateway load distribution algorithm.
type ApplicationGatewayLoadDistributionAlgorithm string
const ( // ApplicationGatewayLoadDistributionAlgorithmIPHash ... ApplicationGatewayLoadDistributionAlgorithmIPHash ApplicationGatewayLoadDistributionAlgorithm = "IpHash" // ApplicationGatewayLoadDistributionAlgorithmLeastConnections ... ApplicationGatewayLoadDistributionAlgorithmLeastConnections ApplicationGatewayLoadDistributionAlgorithm = "LeastConnections" // ApplicationGatewayLoadDistributionAlgorithmRoundRobin ... ApplicationGatewayLoadDistributionAlgorithmRoundRobin ApplicationGatewayLoadDistributionAlgorithm = "RoundRobin" )
func PossibleApplicationGatewayLoadDistributionAlgorithmValues() []ApplicationGatewayLoadDistributionAlgorithm
PossibleApplicationGatewayLoadDistributionAlgorithmValues returns an array of possible values for the ApplicationGatewayLoadDistributionAlgorithm const type.
ApplicationGatewayLoadDistributionPolicy load Distribution Policy of an application gateway.
type ApplicationGatewayLoadDistributionPolicy struct { // ApplicationGatewayLoadDistributionPolicyPropertiesFormat - Properties of the application gateway load distribution policy. *ApplicationGatewayLoadDistributionPolicyPropertiesFormat `json:"properties,omitempty"` // Name - Name of the load distribution policy that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agldp ApplicationGatewayLoadDistributionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayLoadDistributionPolicy.
func (agldp *ApplicationGatewayLoadDistributionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayLoadDistributionPolicy struct.
ApplicationGatewayLoadDistributionPolicyPropertiesFormat properties of Load Distribution Policy of an application gateway.
type ApplicationGatewayLoadDistributionPolicyPropertiesFormat struct { // LoadDistributionTargets - Load Distribution Targets resource of an application gateway. LoadDistributionTargets *[]ApplicationGatewayLoadDistributionTarget `json:"loadDistributionTargets,omitempty"` // LoadDistributionAlgorithm - Load Distribution Targets resource of an application gateway. Possible values include: 'ApplicationGatewayLoadDistributionAlgorithmRoundRobin', 'ApplicationGatewayLoadDistributionAlgorithmLeastConnections', 'ApplicationGatewayLoadDistributionAlgorithmIPHash' LoadDistributionAlgorithm ApplicationGatewayLoadDistributionAlgorithm `json:"loadDistributionAlgorithm,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the Load Distribution Policy resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agldppf ApplicationGatewayLoadDistributionPolicyPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayLoadDistributionPolicyPropertiesFormat.
ApplicationGatewayLoadDistributionTarget load Distribution Target of an application gateway.
type ApplicationGatewayLoadDistributionTarget struct { // ApplicationGatewayLoadDistributionTargetPropertiesFormat - Properties of the application gateway load distribution target. *ApplicationGatewayLoadDistributionTargetPropertiesFormat `json:"properties,omitempty"` // Name - Name of the load distribution policy that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agldt ApplicationGatewayLoadDistributionTarget) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayLoadDistributionTarget.
func (agldt *ApplicationGatewayLoadDistributionTarget) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayLoadDistributionTarget struct.
ApplicationGatewayLoadDistributionTargetPropertiesFormat ...
type ApplicationGatewayLoadDistributionTargetPropertiesFormat struct { // WeightPerServer - Weight per server. Range between 1 and 100. WeightPerServer *int32 `json:"weightPerServer,omitempty"` // BackendAddressPool - Backend address pool resource of the application gateway. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` }
ApplicationGatewayOnDemandProbe details of on demand test probe request.
type ApplicationGatewayOnDemandProbe struct { // Protocol - The protocol used for the probe. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // Host - Host name to send the probe to. Host *string `json:"host,omitempty"` // Path - Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>. Path *string `json:"path,omitempty"` // Timeout - The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds. Timeout *int32 `json:"timeout,omitempty"` // PickHostNameFromBackendHTTPSettings - Whether the host header should be picked from the backend http settings. Default value is false. PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` // Match - Criterion for classifying a healthy probe response. Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` // BackendAddressPool - Reference to backend pool of application gateway to which probe request will be sent. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendHTTPSettings - Reference to backend http setting of application gateway to be used for test probe. BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` }
ApplicationGatewayOperationalState enumerates the values for application gateway operational state.
type ApplicationGatewayOperationalState string
const ( // ApplicationGatewayOperationalStateRunning ... ApplicationGatewayOperationalStateRunning ApplicationGatewayOperationalState = "Running" // ApplicationGatewayOperationalStateStarting ... ApplicationGatewayOperationalStateStarting ApplicationGatewayOperationalState = "Starting" // ApplicationGatewayOperationalStateStopped ... ApplicationGatewayOperationalStateStopped ApplicationGatewayOperationalState = "Stopped" // ApplicationGatewayOperationalStateStopping ... ApplicationGatewayOperationalStateStopping ApplicationGatewayOperationalState = "Stopping" )
func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState
PossibleApplicationGatewayOperationalStateValues returns an array of possible values for the ApplicationGatewayOperationalState const type.
ApplicationGatewayPathRule path rule of URL path map of an application gateway.
type ApplicationGatewayPathRule struct { // ApplicationGatewayPathRulePropertiesFormat - Properties of the application gateway path rule. *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"` // Name - Name of the path rule that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agpr ApplicationGatewayPathRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPathRule.
func (agpr *ApplicationGatewayPathRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPathRule struct.
ApplicationGatewayPathRulePropertiesFormat properties of path rule of an application gateway.
type ApplicationGatewayPathRulePropertiesFormat struct { // Paths - Path rules of URL path map. Paths *[]string `json:"paths,omitempty"` // BackendAddressPool - Backend address pool resource of URL path map path rule. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendHTTPSettings - Backend http settings resource of URL path map path rule. BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` // RedirectConfiguration - Redirect configuration resource of URL path map path rule. RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` // RewriteRuleSet - Rewrite rule set resource of URL path map path rule. RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` // LoadDistributionPolicy - Load Distribution Policy resource of URL path map path rule. LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the path rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // FirewallPolicy - Reference to the FirewallPolicy resource. FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` }
func (agprpf ApplicationGatewayPathRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPathRulePropertiesFormat.
ApplicationGatewayPrivateEndpointConnection private Endpoint connection on an application gateway.
type ApplicationGatewayPrivateEndpointConnection struct { autorest.Response `json:"-"` // ApplicationGatewayPrivateEndpointConnectionProperties - Properties of the application gateway private endpoint connection. *ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"` // Name - Name of the private endpoint connection on an application gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agpec ApplicationGatewayPrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateEndpointConnection.
func (agpec *ApplicationGatewayPrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateEndpointConnection struct.
ApplicationGatewayPrivateEndpointConnectionListResult response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private endpoint connections for an application gateway.
type ApplicationGatewayPrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - List of private endpoint connections on an application gateway. Value *[]ApplicationGatewayPrivateEndpointConnection `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (agpeclr ApplicationGatewayPrivateEndpointConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ApplicationGatewayPrivateEndpointConnectionListResultIterator provides access to a complete listing of ApplicationGatewayPrivateEndpointConnection values.
type ApplicationGatewayPrivateEndpointConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayPrivateEndpointConnectionListResultIterator(page ApplicationGatewayPrivateEndpointConnectionListResultPage) ApplicationGatewayPrivateEndpointConnectionListResultIterator
Creates a new instance of the ApplicationGatewayPrivateEndpointConnectionListResultIterator type.
func (iter *ApplicationGatewayPrivateEndpointConnectionListResultIterator) 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 *ApplicationGatewayPrivateEndpointConnectionListResultIterator) 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 ApplicationGatewayPrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationGatewayPrivateEndpointConnectionListResultIterator) Response() ApplicationGatewayPrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (iter ApplicationGatewayPrivateEndpointConnectionListResultIterator) Value() ApplicationGatewayPrivateEndpointConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationGatewayPrivateEndpointConnectionListResultPage contains a page of ApplicationGatewayPrivateEndpointConnection values.
type ApplicationGatewayPrivateEndpointConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayPrivateEndpointConnectionListResultPage(cur ApplicationGatewayPrivateEndpointConnectionListResult, getNextPage func(context.Context, ApplicationGatewayPrivateEndpointConnectionListResult) (ApplicationGatewayPrivateEndpointConnectionListResult, error)) ApplicationGatewayPrivateEndpointConnectionListResultPage
Creates a new instance of the ApplicationGatewayPrivateEndpointConnectionListResultPage type.
func (page *ApplicationGatewayPrivateEndpointConnectionListResultPage) 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 *ApplicationGatewayPrivateEndpointConnectionListResultPage) 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 ApplicationGatewayPrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationGatewayPrivateEndpointConnectionListResultPage) Response() ApplicationGatewayPrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (page ApplicationGatewayPrivateEndpointConnectionListResultPage) Values() []ApplicationGatewayPrivateEndpointConnection
Values returns the slice of values for the current page or nil if there are no values.
ApplicationGatewayPrivateEndpointConnectionProperties properties of Private Link Resource of an application gateway.
type ApplicationGatewayPrivateEndpointConnectionProperties struct { // PrivateEndpoint - READ-ONLY; The resource of private end point. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application gateway private endpoint connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // LinkIdentifier - READ-ONLY; The consumer link id. LinkIdentifier *string `json:"linkIdentifier,omitempty"` }
func (agpecp ApplicationGatewayPrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateEndpointConnectionProperties.
ApplicationGatewayPrivateEndpointConnectionsClient is the network Client
type ApplicationGatewayPrivateEndpointConnectionsClient struct { BaseClient }
func NewApplicationGatewayPrivateEndpointConnectionsClient(subscriptionID string) ApplicationGatewayPrivateEndpointConnectionsClient
NewApplicationGatewayPrivateEndpointConnectionsClient creates an instance of the ApplicationGatewayPrivateEndpointConnectionsClient client.
func NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewayPrivateEndpointConnectionsClient
NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI creates an instance of the ApplicationGatewayPrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ApplicationGatewayPrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (result ApplicationGatewayPrivateEndpointConnectionsDeleteFuture, err error)
Delete deletes the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) 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 ApplicationGatewayPrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future ApplicationGatewayPrivateEndpointConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (result ApplicationGatewayPrivateEndpointConnection, err error)
Get gets the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result ApplicationGatewayPrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) 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 ApplicationGatewayPrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateEndpointConnectionListResultPage, err error)
List lists all private endpoint connections on an application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateEndpointConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result ApplicationGatewayPrivateEndpointConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) 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.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) Update(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string, parameters ApplicationGatewayPrivateEndpointConnection) (result ApplicationGatewayPrivateEndpointConnectionsUpdateFuture, err error)
Update updates the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection. parameters - parameters supplied to update application gateway private endpoint connection operation.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string, parameters ApplicationGatewayPrivateEndpointConnection) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) UpdateResponder(resp *http.Response) (result ApplicationGatewayPrivateEndpointConnection, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client ApplicationGatewayPrivateEndpointConnectionsClient) UpdateSender(req *http.Request) (future ApplicationGatewayPrivateEndpointConnectionsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
ApplicationGatewayPrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewayPrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewayPrivateEndpointConnectionsClient) (autorest.Response, error) }
func (future *ApplicationGatewayPrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewayPrivateEndpointConnectionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewayPrivateEndpointConnectionsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewayPrivateEndpointConnectionsClient) (ApplicationGatewayPrivateEndpointConnection, error) }
func (future *ApplicationGatewayPrivateEndpointConnectionsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewayPrivateLinkConfiguration private Link Configuration on an application gateway.
type ApplicationGatewayPrivateLinkConfiguration struct { // ApplicationGatewayPrivateLinkConfigurationProperties - Properties of the application gateway private link configuration. *ApplicationGatewayPrivateLinkConfigurationProperties `json:"properties,omitempty"` // Name - Name of the private link configuration that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agplc ApplicationGatewayPrivateLinkConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkConfiguration.
func (agplc *ApplicationGatewayPrivateLinkConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkConfiguration struct.
ApplicationGatewayPrivateLinkConfigurationProperties properties of private link configuration on an application gateway.
type ApplicationGatewayPrivateLinkConfigurationProperties struct { // IPConfigurations - An array of application gateway private link ip configurations. IPConfigurations *[]ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application gateway private link configuration. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agplcp ApplicationGatewayPrivateLinkConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkConfigurationProperties.
ApplicationGatewayPrivateLinkIPConfiguration the application gateway private link ip configuration.
type ApplicationGatewayPrivateLinkIPConfiguration struct { // ApplicationGatewayPrivateLinkIPConfigurationProperties - Properties of an application gateway private link ip configuration. *ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"` // Name - The name of application gateway private link ip configuration. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agplic ApplicationGatewayPrivateLinkIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkIPConfiguration.
func (agplic *ApplicationGatewayPrivateLinkIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkIPConfiguration struct.
ApplicationGatewayPrivateLinkIPConfigurationProperties properties of an application gateway private link IP configuration.
type ApplicationGatewayPrivateLinkIPConfigurationProperties struct { // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - Reference to the subnet resource. Subnet *SubResource `json:"subnet,omitempty"` // Primary - Whether the ip configuration is primary or not. Primary *bool `json:"primary,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application gateway private link IP configuration. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agplicp ApplicationGatewayPrivateLinkIPConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkIPConfigurationProperties.
ApplicationGatewayPrivateLinkResource privateLink Resource of an application gateway.
type ApplicationGatewayPrivateLinkResource struct { // ApplicationGatewayPrivateLinkResourceProperties - Properties of the application gateway private link resource. *ApplicationGatewayPrivateLinkResourceProperties `json:"properties,omitempty"` // Name - Name of the private link resource that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agplr ApplicationGatewayPrivateLinkResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkResource.
func (agplr *ApplicationGatewayPrivateLinkResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkResource struct.
ApplicationGatewayPrivateLinkResourceListResult response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway.
type ApplicationGatewayPrivateLinkResourceListResult struct { autorest.Response `json:"-"` // Value - List of private link resources of an application gateway. Value *[]ApplicationGatewayPrivateLinkResource `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (agplrlr ApplicationGatewayPrivateLinkResourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ApplicationGatewayPrivateLinkResourceListResultIterator provides access to a complete listing of ApplicationGatewayPrivateLinkResource values.
type ApplicationGatewayPrivateLinkResourceListResultIterator struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayPrivateLinkResourceListResultIterator(page ApplicationGatewayPrivateLinkResourceListResultPage) ApplicationGatewayPrivateLinkResourceListResultIterator
Creates a new instance of the ApplicationGatewayPrivateLinkResourceListResultIterator type.
func (iter *ApplicationGatewayPrivateLinkResourceListResultIterator) 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 *ApplicationGatewayPrivateLinkResourceListResultIterator) 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 ApplicationGatewayPrivateLinkResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationGatewayPrivateLinkResourceListResultIterator) Response() ApplicationGatewayPrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (iter ApplicationGatewayPrivateLinkResourceListResultIterator) Value() ApplicationGatewayPrivateLinkResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationGatewayPrivateLinkResourceListResultPage contains a page of ApplicationGatewayPrivateLinkResource values.
type ApplicationGatewayPrivateLinkResourceListResultPage struct {
// contains filtered or unexported fields
}
func NewApplicationGatewayPrivateLinkResourceListResultPage(cur ApplicationGatewayPrivateLinkResourceListResult, getNextPage func(context.Context, ApplicationGatewayPrivateLinkResourceListResult) (ApplicationGatewayPrivateLinkResourceListResult, error)) ApplicationGatewayPrivateLinkResourceListResultPage
Creates a new instance of the ApplicationGatewayPrivateLinkResourceListResultPage type.
func (page *ApplicationGatewayPrivateLinkResourceListResultPage) 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 *ApplicationGatewayPrivateLinkResourceListResultPage) 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 ApplicationGatewayPrivateLinkResourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationGatewayPrivateLinkResourceListResultPage) Response() ApplicationGatewayPrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (page ApplicationGatewayPrivateLinkResourceListResultPage) Values() []ApplicationGatewayPrivateLinkResource
Values returns the slice of values for the current page or nil if there are no values.
ApplicationGatewayPrivateLinkResourceProperties properties of a private link resource.
type ApplicationGatewayPrivateLinkResourceProperties struct { // GroupID - READ-ONLY; Group identifier of private link resource. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - READ-ONLY; Required member names of private link resource. RequiredMembers *[]string `json:"requiredMembers,omitempty"` // RequiredZoneNames - Required DNS zone names of the the private link resource. RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` }
func (agplrp ApplicationGatewayPrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkResourceProperties.
ApplicationGatewayPrivateLinkResourcesClient is the network Client
type ApplicationGatewayPrivateLinkResourcesClient struct { BaseClient }
func NewApplicationGatewayPrivateLinkResourcesClient(subscriptionID string) ApplicationGatewayPrivateLinkResourcesClient
NewApplicationGatewayPrivateLinkResourcesClient creates an instance of the ApplicationGatewayPrivateLinkResourcesClient client.
func NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewayPrivateLinkResourcesClient
NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI creates an instance of the ApplicationGatewayPrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ApplicationGatewayPrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateLinkResourceListResultPage, err error)
List lists all private link resources on an application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewayPrivateLinkResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateLinkResourceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationGatewayPrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ApplicationGatewayPrivateLinkResourcesClient) ListResponder(resp *http.Response) (result ApplicationGatewayPrivateLinkResourceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ApplicationGatewayPrivateLinkResourcesClient) 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.
ApplicationGatewayProbe probe of the application gateway.
type ApplicationGatewayProbe struct { // ApplicationGatewayProbePropertiesFormat - Properties of the application gateway probe. *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"` // Name - Name of the probe that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agp ApplicationGatewayProbe) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayProbe.
func (agp *ApplicationGatewayProbe) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayProbe struct.
ApplicationGatewayProbeHealthResponseMatch application gateway probe health response match.
type ApplicationGatewayProbeHealthResponseMatch struct { // Body - Body that must be contained in the health response. Default value is empty. Body *string `json:"body,omitempty"` // StatusCodes - Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399. StatusCodes *[]string `json:"statusCodes,omitempty"` }
ApplicationGatewayProbePropertiesFormat properties of probe of an application gateway.
type ApplicationGatewayProbePropertiesFormat struct { // Protocol - The protocol used for the probe. Possible values include: 'ApplicationGatewayProtocolHTTP', 'ApplicationGatewayProtocolHTTPS', 'ApplicationGatewayProtocolTCP', 'ApplicationGatewayProtocolTLS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // Host - Host name to send the probe to. Host *string `json:"host,omitempty"` // Path - Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>. Path *string `json:"path,omitempty"` // Interval - The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds. Interval *int32 `json:"interval,omitempty"` // Timeout - The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds. Timeout *int32 `json:"timeout,omitempty"` // UnhealthyThreshold - The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20. UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"` // PickHostNameFromBackendHTTPSettings - Whether the host header should be picked from the backend http settings. Default value is false. PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` // PickHostNameFromBackendSettings - Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false. PickHostNameFromBackendSettings *bool `json:"pickHostNameFromBackendSettings,omitempty"` // MinServers - Minimum number of servers that are always marked healthy. Default value is 0. MinServers *int32 `json:"minServers,omitempty"` // Match - Criterion for classifying a healthy probe response. Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the probe resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Port - Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. Port *int32 `json:"port,omitempty"` }
func (agppf ApplicationGatewayProbePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayProbePropertiesFormat.
ApplicationGatewayPropertiesFormat properties of the application gateway.
type ApplicationGatewayPropertiesFormat struct { // Sku - SKU of the application gateway resource. Sku *ApplicationGatewaySku `json:"sku,omitempty"` // SslPolicy - SSL policy of the application gateway resource. SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` // OperationalState - READ-ONLY; Operational state of the application gateway resource. Possible values include: 'ApplicationGatewayOperationalStateStopped', 'ApplicationGatewayOperationalStateStarting', 'ApplicationGatewayOperationalStateRunning', 'ApplicationGatewayOperationalStateStopping' OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"` // GatewayIPConfigurations - Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"` // AuthenticationCertificates - Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"` // TrustedRootCertificates - Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). TrustedRootCertificates *[]ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"` // TrustedClientCertificates - Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). TrustedClientCertificates *[]ApplicationGatewayTrustedClientCertificate `json:"trustedClientCertificates,omitempty"` // SslCertificates - SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"` // FrontendIPConfigurations - Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` // FrontendPorts - Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"` // Probes - Probes of the application gateway resource. Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"` // BackendAddressPools - Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"` // BackendHTTPSettingsCollection - Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` // BackendSettingsCollection - Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). BackendSettingsCollection *[]ApplicationGatewayBackendSettings `json:"backendSettingsCollection,omitempty"` // HTTPListeners - Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"` // Listeners - Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). Listeners *[]ApplicationGatewayListener `json:"listeners,omitempty"` // SslProfiles - SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). SslProfiles *[]ApplicationGatewaySslProfile `json:"sslProfiles,omitempty"` // URLPathMaps - URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"` // RequestRoutingRules - Request routing rules of the application gateway resource. RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"` // RoutingRules - Routing rules of the application gateway resource. RoutingRules *[]ApplicationGatewayRoutingRule `json:"routingRules,omitempty"` // RewriteRuleSets - Rewrite rules for the application gateway resource. RewriteRuleSets *[]ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"` // RedirectConfigurations - Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"` // WebApplicationFirewallConfiguration - Web application firewall configuration. WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"` // FirewallPolicy - Reference to the FirewallPolicy resource. FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` // EnableHTTP2 - Whether HTTP2 is enabled on the application gateway resource. EnableHTTP2 *bool `json:"enableHttp2,omitempty"` // EnableFips - Whether FIPS is enabled on the application gateway resource. EnableFips *bool `json:"enableFips,omitempty"` // AutoscaleConfiguration - Autoscale Configuration. AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"` // PrivateLinkConfigurations - PrivateLink configurations on application gateway. PrivateLinkConfigurations *[]ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"` // PrivateEndpointConnections - READ-ONLY; Private Endpoint connections on application gateway. PrivateEndpointConnections *[]ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the application gateway resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // CustomErrorConfigurations - Custom error configurations of the application gateway resource. CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` // ForceFirewallPolicyAssociation - If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,omitempty"` // LoadDistributionPolicies - Load distribution policies of the application gateway resource. LoadDistributionPolicies *[]ApplicationGatewayLoadDistributionPolicy `json:"loadDistributionPolicies,omitempty"` // GlobalConfiguration - Global Configuration. GlobalConfiguration *ApplicationGatewayGlobalConfiguration `json:"globalConfiguration,omitempty"` }
func (agpf ApplicationGatewayPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPropertiesFormat.
ApplicationGatewayProtocol enumerates the values for application gateway protocol.
type ApplicationGatewayProtocol string
const ( // ApplicationGatewayProtocolHTTP ... ApplicationGatewayProtocolHTTP ApplicationGatewayProtocol = "Http" // ApplicationGatewayProtocolHTTPS ... ApplicationGatewayProtocolHTTPS ApplicationGatewayProtocol = "Https" // ApplicationGatewayProtocolTCP ... ApplicationGatewayProtocolTCP ApplicationGatewayProtocol = "Tcp" // ApplicationGatewayProtocolTLS ... ApplicationGatewayProtocolTLS ApplicationGatewayProtocol = "Tls" )
func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol
PossibleApplicationGatewayProtocolValues returns an array of possible values for the ApplicationGatewayProtocol const type.
ApplicationGatewayRedirectConfiguration redirect configuration of an application gateway.
type ApplicationGatewayRedirectConfiguration struct { // ApplicationGatewayRedirectConfigurationPropertiesFormat - Properties of the application gateway redirect configuration. *ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the redirect configuration that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agrc ApplicationGatewayRedirectConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRedirectConfiguration.
func (agrc *ApplicationGatewayRedirectConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRedirectConfiguration struct.
ApplicationGatewayRedirectConfigurationPropertiesFormat properties of redirect configuration of the application gateway.
type ApplicationGatewayRedirectConfigurationPropertiesFormat struct { // RedirectType - HTTP redirection type. Possible values include: 'ApplicationGatewayRedirectTypePermanent', 'ApplicationGatewayRedirectTypeFound', 'ApplicationGatewayRedirectTypeSeeOther', 'ApplicationGatewayRedirectTypeTemporary' RedirectType ApplicationGatewayRedirectType `json:"redirectType,omitempty"` // TargetListener - Reference to a listener to redirect the request to. TargetListener *SubResource `json:"targetListener,omitempty"` // TargetURL - Url to redirect the request to. TargetURL *string `json:"targetUrl,omitempty"` // IncludePath - Include path in the redirected url. IncludePath *bool `json:"includePath,omitempty"` // IncludeQueryString - Include query string in the redirected url. IncludeQueryString *bool `json:"includeQueryString,omitempty"` // RequestRoutingRules - Request routing specifying redirect configuration. RequestRoutingRules *[]SubResource `json:"requestRoutingRules,omitempty"` // URLPathMaps - Url path maps specifying default redirect configuration. URLPathMaps *[]SubResource `json:"urlPathMaps,omitempty"` // PathRules - Path rules specifying redirect configuration. PathRules *[]SubResource `json:"pathRules,omitempty"` }
ApplicationGatewayRedirectType enumerates the values for application gateway redirect type.
type ApplicationGatewayRedirectType string
const ( // ApplicationGatewayRedirectTypeFound ... ApplicationGatewayRedirectTypeFound ApplicationGatewayRedirectType = "Found" // ApplicationGatewayRedirectTypePermanent ... ApplicationGatewayRedirectTypePermanent ApplicationGatewayRedirectType = "Permanent" // ApplicationGatewayRedirectTypeSeeOther ... ApplicationGatewayRedirectTypeSeeOther ApplicationGatewayRedirectType = "SeeOther" // ApplicationGatewayRedirectTypeTemporary ... ApplicationGatewayRedirectTypeTemporary ApplicationGatewayRedirectType = "Temporary" )
func PossibleApplicationGatewayRedirectTypeValues() []ApplicationGatewayRedirectType
PossibleApplicationGatewayRedirectTypeValues returns an array of possible values for the ApplicationGatewayRedirectType const type.
ApplicationGatewayRequestRoutingRule request routing rule of an application gateway.
type ApplicationGatewayRequestRoutingRule struct { // ApplicationGatewayRequestRoutingRulePropertiesFormat - Properties of the application gateway request routing rule. *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"` // Name - Name of the request routing rule that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agrrr ApplicationGatewayRequestRoutingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRule.
func (agrrr *ApplicationGatewayRequestRoutingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRequestRoutingRule struct.
ApplicationGatewayRequestRoutingRulePropertiesFormat properties of request routing rule of the application gateway.
type ApplicationGatewayRequestRoutingRulePropertiesFormat struct { // RuleType - Rule type. Possible values include: 'ApplicationGatewayRequestRoutingRuleTypeBasic', 'ApplicationGatewayRequestRoutingRuleTypePathBasedRouting' RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` // Priority - Priority of the request routing rule. Priority *int32 `json:"priority,omitempty"` // BackendAddressPool - Backend address pool resource of the application gateway. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendHTTPSettings - Backend http settings resource of the application gateway. BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` // HTTPListener - Http listener resource of the application gateway. HTTPListener *SubResource `json:"httpListener,omitempty"` // URLPathMap - URL path map resource of the application gateway. URLPathMap *SubResource `json:"urlPathMap,omitempty"` // RewriteRuleSet - Rewrite Rule Set resource in Basic rule of the application gateway. RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` // RedirectConfiguration - Redirect configuration resource of the application gateway. RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` // LoadDistributionPolicy - Load Distribution Policy resource of the application gateway. LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the request routing rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agrrrpf ApplicationGatewayRequestRoutingRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRulePropertiesFormat.
ApplicationGatewayRequestRoutingRuleType enumerates the values for application gateway request routing rule type.
type ApplicationGatewayRequestRoutingRuleType string
const ( // ApplicationGatewayRequestRoutingRuleTypeBasic ... ApplicationGatewayRequestRoutingRuleTypeBasic ApplicationGatewayRequestRoutingRuleType = "Basic" // ApplicationGatewayRequestRoutingRuleTypePathBasedRouting ... ApplicationGatewayRequestRoutingRuleTypePathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting" )
func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType
PossibleApplicationGatewayRequestRoutingRuleTypeValues returns an array of possible values for the ApplicationGatewayRequestRoutingRuleType const type.
ApplicationGatewayRewriteRule rewrite rule of an application gateway.
type ApplicationGatewayRewriteRule struct { // Name - Name of the rewrite rule that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // RuleSequence - Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet. RuleSequence *int32 `json:"ruleSequence,omitempty"` // Conditions - Conditions based on which the action set execution will be evaluated. Conditions *[]ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"` // ActionSet - Set of actions to be done as part of the rewrite Rule. ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"` }
ApplicationGatewayRewriteRuleActionSet set of actions in the Rewrite Rule in Application Gateway.
type ApplicationGatewayRewriteRuleActionSet struct { // RequestHeaderConfigurations - Request Header Actions in the Action Set. RequestHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"requestHeaderConfigurations,omitempty"` // ResponseHeaderConfigurations - Response Header Actions in the Action Set. ResponseHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"` // URLConfiguration - Url Configuration Action in the Action Set. URLConfiguration *ApplicationGatewayURLConfiguration `json:"urlConfiguration,omitempty"` }
ApplicationGatewayRewriteRuleCondition set of conditions in the Rewrite Rule in Application Gateway.
type ApplicationGatewayRewriteRuleCondition struct { // Variable - The condition parameter of the RewriteRuleCondition. Variable *string `json:"variable,omitempty"` // Pattern - The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. Pattern *string `json:"pattern,omitempty"` // IgnoreCase - Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. IgnoreCase *bool `json:"ignoreCase,omitempty"` // Negate - Setting this value as truth will force to check the negation of the condition given by the user. Negate *bool `json:"negate,omitempty"` }
ApplicationGatewayRewriteRuleSet rewrite rule set of an application gateway.
type ApplicationGatewayRewriteRuleSet struct { // ApplicationGatewayRewriteRuleSetPropertiesFormat - Properties of the application gateway rewrite rule set. *ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"` // Name - Name of the rewrite rule set that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agrrs ApplicationGatewayRewriteRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRewriteRuleSet.
func (agrrs *ApplicationGatewayRewriteRuleSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRewriteRuleSet struct.
ApplicationGatewayRewriteRuleSetPropertiesFormat properties of rewrite rule set of the application gateway.
type ApplicationGatewayRewriteRuleSetPropertiesFormat struct { // RewriteRules - Rewrite rules in the rewrite rule set. RewriteRules *[]ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the rewrite rule set resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agrrspf ApplicationGatewayRewriteRuleSetPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRewriteRuleSetPropertiesFormat.
ApplicationGatewayRoutingRule routing rule of an application gateway.
type ApplicationGatewayRoutingRule struct { // ApplicationGatewayRoutingRulePropertiesFormat - Properties of the application gateway routing rule. *ApplicationGatewayRoutingRulePropertiesFormat `json:"properties,omitempty"` // Name - Name of the routing rule that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agrr ApplicationGatewayRoutingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRoutingRule.
func (agrr *ApplicationGatewayRoutingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRoutingRule struct.
ApplicationGatewayRoutingRulePropertiesFormat properties of routing rule of the application gateway.
type ApplicationGatewayRoutingRulePropertiesFormat struct { // RuleType - Rule type. Possible values include: 'ApplicationGatewayRequestRoutingRuleTypeBasic', 'ApplicationGatewayRequestRoutingRuleTypePathBasedRouting' RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` // Priority - Priority of the routing rule. Priority *int32 `json:"priority,omitempty"` // BackendAddressPool - Backend address pool resource of the application gateway. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendSettings - Backend settings resource of the application gateway. BackendSettings *SubResource `json:"backendSettings,omitempty"` // Listener - Listener resource of the application gateway. Listener *SubResource `json:"listener,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the request routing rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agrrpf ApplicationGatewayRoutingRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRoutingRulePropertiesFormat.
ApplicationGatewaySku SKU of an application gateway.
type ApplicationGatewaySku struct { // Name - Name of an application gateway SKU. Possible values include: 'ApplicationGatewaySkuNameStandardSmall', 'ApplicationGatewaySkuNameStandardMedium', 'ApplicationGatewaySkuNameStandardLarge', 'ApplicationGatewaySkuNameWAFMedium', 'ApplicationGatewaySkuNameWAFLarge', 'ApplicationGatewaySkuNameStandardV2', 'ApplicationGatewaySkuNameWAFV2' Name ApplicationGatewaySkuName `json:"name,omitempty"` // Tier - Tier of an application gateway. Possible values include: 'ApplicationGatewayTierStandard', 'ApplicationGatewayTierWAF', 'ApplicationGatewayTierStandardV2', 'ApplicationGatewayTierWAFV2' Tier ApplicationGatewayTier `json:"tier,omitempty"` // Capacity - Capacity (instance count) of an application gateway. Capacity *int32 `json:"capacity,omitempty"` }
ApplicationGatewaySkuName enumerates the values for application gateway sku name.
type ApplicationGatewaySkuName string
const ( // ApplicationGatewaySkuNameStandardLarge ... ApplicationGatewaySkuNameStandardLarge ApplicationGatewaySkuName = "Standard_Large" // ApplicationGatewaySkuNameStandardMedium ... ApplicationGatewaySkuNameStandardMedium ApplicationGatewaySkuName = "Standard_Medium" // ApplicationGatewaySkuNameStandardSmall ... ApplicationGatewaySkuNameStandardSmall ApplicationGatewaySkuName = "Standard_Small" // ApplicationGatewaySkuNameStandardV2 ... ApplicationGatewaySkuNameStandardV2 ApplicationGatewaySkuName = "Standard_v2" // ApplicationGatewaySkuNameWAFLarge ... ApplicationGatewaySkuNameWAFLarge ApplicationGatewaySkuName = "WAF_Large" // ApplicationGatewaySkuNameWAFMedium ... ApplicationGatewaySkuNameWAFMedium ApplicationGatewaySkuName = "WAF_Medium" // ApplicationGatewaySkuNameWAFV2 ... ApplicationGatewaySkuNameWAFV2 ApplicationGatewaySkuName = "WAF_v2" )
func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName
PossibleApplicationGatewaySkuNameValues returns an array of possible values for the ApplicationGatewaySkuName const type.
ApplicationGatewaySslCertificate SSL certificates of an application gateway.
type ApplicationGatewaySslCertificate struct { // ApplicationGatewaySslCertificatePropertiesFormat - Properties of the application gateway SSL certificate. *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"` // Name - Name of the SSL certificate that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agsc ApplicationGatewaySslCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificate.
func (agsc *ApplicationGatewaySslCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslCertificate struct.
ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of an application gateway.
type ApplicationGatewaySslCertificatePropertiesFormat struct { // Data - Base-64 encoded pfx certificate. Only applicable in PUT Request. Data *string `json:"data,omitempty"` // Password - Password for the pfx file specified in data. Only applicable in PUT request. Password *string `json:"password,omitempty"` // PublicCertData - READ-ONLY; Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. PublicCertData *string `json:"publicCertData,omitempty"` // KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the SSL certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agscpf ApplicationGatewaySslCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificatePropertiesFormat.
ApplicationGatewaySslCipherSuite enumerates the values for application gateway ssl cipher suite.
type ApplicationGatewaySslCipherSuite string
const ( // ApplicationGatewaySslCipherSuiteTLSDHEDSSWITH3DESEDECBCSHA ... ApplicationGatewaySslCipherSuiteTLSDHEDSSWITH3DESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES128CBCSHA ... ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES128CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES256CBCSHA ... ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES256CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSDHEDSSWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES128CBCSHA ... ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES128GCMSHA256 ... ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" // ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES256CBCSHA ... ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES256GCMSHA384 ... ApplicationGatewaySslCipherSuiteTLSDHERSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128GCMSHA256 ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA384 ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" // ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256GCMSHA384 ... ApplicationGatewaySslCipherSuiteTLSECDHEECDSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128CBCSHA ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128GCMSHA256 ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256CBCSHA ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256CBCSHA384 ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" // ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256GCMSHA384 ... ApplicationGatewaySslCipherSuiteTLSECDHERSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" // ApplicationGatewaySslCipherSuiteTLSRSAWITH3DESEDECBCSHA ... ApplicationGatewaySslCipherSuiteTLSRSAWITH3DESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128CBCSHA ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128GCMSHA256 ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256CBCSHA ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256CBCSHA256 ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256" // ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256GCMSHA384 ... ApplicationGatewaySslCipherSuiteTLSRSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384" )
func PossibleApplicationGatewaySslCipherSuiteValues() []ApplicationGatewaySslCipherSuite
PossibleApplicationGatewaySslCipherSuiteValues returns an array of possible values for the ApplicationGatewaySslCipherSuite const type.
ApplicationGatewaySslPolicy application Gateway Ssl policy.
type ApplicationGatewaySslPolicy struct { // DisabledSslProtocols - Ssl protocols to be disabled on application gateway. DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"` // PolicyType - Type of Ssl Policy. Possible values include: 'ApplicationGatewaySslPolicyTypePredefined', 'ApplicationGatewaySslPolicyTypeCustom' PolicyType ApplicationGatewaySslPolicyType `json:"policyType,omitempty"` // PolicyName - Name of Ssl predefined policy. Possible values include: 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20150501', 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401', 'ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401S' PolicyName ApplicationGatewaySslPolicyName `json:"policyName,omitempty"` // CipherSuites - Ssl cipher suites to be enabled in the specified order to application gateway. CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"` // MinProtocolVersion - Minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'ApplicationGatewaySslProtocolTLSv10', 'ApplicationGatewaySslProtocolTLSv11', 'ApplicationGatewaySslProtocolTLSv12' MinProtocolVersion ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"` }
ApplicationGatewaySslPolicyName enumerates the values for application gateway ssl policy name.
type ApplicationGatewaySslPolicyName string
const ( // ApplicationGatewaySslPolicyNameAppGwSslPolicy20150501 ... ApplicationGatewaySslPolicyNameAppGwSslPolicy20150501 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20150501" // ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401 ... ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401" // ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401S ... ApplicationGatewaySslPolicyNameAppGwSslPolicy20170401S ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401S" )
func PossibleApplicationGatewaySslPolicyNameValues() []ApplicationGatewaySslPolicyName
PossibleApplicationGatewaySslPolicyNameValues returns an array of possible values for the ApplicationGatewaySslPolicyName const type.
ApplicationGatewaySslPolicyType enumerates the values for application gateway ssl policy type.
type ApplicationGatewaySslPolicyType string
const ( // ApplicationGatewaySslPolicyTypeCustom ... ApplicationGatewaySslPolicyTypeCustom ApplicationGatewaySslPolicyType = "Custom" // ApplicationGatewaySslPolicyTypePredefined ... ApplicationGatewaySslPolicyTypePredefined ApplicationGatewaySslPolicyType = "Predefined" )
func PossibleApplicationGatewaySslPolicyTypeValues() []ApplicationGatewaySslPolicyType
PossibleApplicationGatewaySslPolicyTypeValues returns an array of possible values for the ApplicationGatewaySslPolicyType const type.
ApplicationGatewaySslPredefinedPolicy an Ssl predefined policy.
type ApplicationGatewaySslPredefinedPolicy struct { autorest.Response `json:"-"` // Name - Name of the Ssl predefined policy. Name *string `json:"name,omitempty"` // ApplicationGatewaySslPredefinedPolicyPropertiesFormat - Properties of the application gateway SSL predefined policy. *ApplicationGatewaySslPredefinedPolicyPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agspp ApplicationGatewaySslPredefinedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslPredefinedPolicy.
func (agspp *ApplicationGatewaySslPredefinedPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslPredefinedPolicy struct.
ApplicationGatewaySslPredefinedPolicyPropertiesFormat properties of ApplicationGatewaySslPredefinedPolicy.
type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct { // CipherSuites - Ssl cipher suites to be enabled in the specified order for application gateway. CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"` // MinProtocolVersion - Minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'ApplicationGatewaySslProtocolTLSv10', 'ApplicationGatewaySslProtocolTLSv11', 'ApplicationGatewaySslProtocolTLSv12' MinProtocolVersion ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"` }
ApplicationGatewaySslProfile SSL profile of an application gateway.
type ApplicationGatewaySslProfile struct { // ApplicationGatewaySslProfilePropertiesFormat - Properties of the application gateway SSL profile. *ApplicationGatewaySslProfilePropertiesFormat `json:"properties,omitempty"` // Name - Name of the SSL profile that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agsp ApplicationGatewaySslProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslProfile.
func (agsp *ApplicationGatewaySslProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslProfile struct.
ApplicationGatewaySslProfilePropertiesFormat properties of SSL profile of an application gateway.
type ApplicationGatewaySslProfilePropertiesFormat struct { // TrustedClientCertificates - Array of references to application gateway trusted client certificates. TrustedClientCertificates *[]SubResource `json:"trustedClientCertificates,omitempty"` // SslPolicy - SSL policy of the application gateway resource. SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"` // ClientAuthConfiguration - Client authentication configuration of the application gateway resource. ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the HTTP listener resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agsppf ApplicationGatewaySslProfilePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslProfilePropertiesFormat.
ApplicationGatewaySslProtocol enumerates the values for application gateway ssl protocol.
type ApplicationGatewaySslProtocol string
const ( // ApplicationGatewaySslProtocolTLSv10 ... ApplicationGatewaySslProtocolTLSv10 ApplicationGatewaySslProtocol = "TLSv1_0" // ApplicationGatewaySslProtocolTLSv11 ... ApplicationGatewaySslProtocolTLSv11 ApplicationGatewaySslProtocol = "TLSv1_1" // ApplicationGatewaySslProtocolTLSv12 ... ApplicationGatewaySslProtocolTLSv12 ApplicationGatewaySslProtocol = "TLSv1_2" )
func PossibleApplicationGatewaySslProtocolValues() []ApplicationGatewaySslProtocol
PossibleApplicationGatewaySslProtocolValues returns an array of possible values for the ApplicationGatewaySslProtocol const type.
ApplicationGatewayTier enumerates the values for application gateway tier.
type ApplicationGatewayTier string
const ( // ApplicationGatewayTierStandard ... ApplicationGatewayTierStandard ApplicationGatewayTier = "Standard" // ApplicationGatewayTierStandardV2 ... ApplicationGatewayTierStandardV2 ApplicationGatewayTier = "Standard_v2" // ApplicationGatewayTierWAF ... ApplicationGatewayTierWAF ApplicationGatewayTier = "WAF" // ApplicationGatewayTierWAFV2 ... ApplicationGatewayTierWAFV2 ApplicationGatewayTier = "WAF_v2" )
func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier
PossibleApplicationGatewayTierValues returns an array of possible values for the ApplicationGatewayTier const type.
ApplicationGatewayTrustedClientCertificate trusted client certificates of an application gateway.
type ApplicationGatewayTrustedClientCertificate struct { // ApplicationGatewayTrustedClientCertificatePropertiesFormat - Properties of the application gateway trusted client certificate. *ApplicationGatewayTrustedClientCertificatePropertiesFormat `json:"properties,omitempty"` // Name - Name of the trusted client certificate that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agtcc ApplicationGatewayTrustedClientCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayTrustedClientCertificate.
func (agtcc *ApplicationGatewayTrustedClientCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayTrustedClientCertificate struct.
ApplicationGatewayTrustedClientCertificatePropertiesFormat trusted client certificates properties of an application gateway.
type ApplicationGatewayTrustedClientCertificatePropertiesFormat struct { // Data - Certificate public data. Data *string `json:"data,omitempty"` // ValidatedCertData - READ-ONLY; Validated certificate data. ValidatedCertData *string `json:"validatedCertData,omitempty"` // ClientCertIssuerDN - READ-ONLY; Distinguished name of client certificate issuer. ClientCertIssuerDN *string `json:"clientCertIssuerDN,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the trusted client certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agtccpf ApplicationGatewayTrustedClientCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayTrustedClientCertificatePropertiesFormat.
ApplicationGatewayTrustedRootCertificate trusted Root certificates of an application gateway.
type ApplicationGatewayTrustedRootCertificate struct { // ApplicationGatewayTrustedRootCertificatePropertiesFormat - Properties of the application gateway trusted root certificate. *ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"` // Name - Name of the trusted root certificate that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agtrc ApplicationGatewayTrustedRootCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayTrustedRootCertificate.
func (agtrc *ApplicationGatewayTrustedRootCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayTrustedRootCertificate struct.
ApplicationGatewayTrustedRootCertificatePropertiesFormat trusted Root certificates properties of an application gateway.
type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct { // Data - Certificate public data. Data *string `json:"data,omitempty"` // KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the trusted root certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agtrcpf ApplicationGatewayTrustedRootCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayTrustedRootCertificatePropertiesFormat.
ApplicationGatewayURLConfiguration url configuration of the Actions set in Application Gateway.
type ApplicationGatewayURLConfiguration struct { // ModifiedPath - Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null. ModifiedPath *string `json:"modifiedPath,omitempty"` // ModifiedQueryString - Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null. ModifiedQueryString *string `json:"modifiedQueryString,omitempty"` // Reroute - If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false. Reroute *bool `json:"reroute,omitempty"` }
ApplicationGatewayURLPathMap urlPathMaps give a url path to the backend mapping information for PathBasedRouting.
type ApplicationGatewayURLPathMap struct { // ApplicationGatewayURLPathMapPropertiesFormat - Properties of the application gateway URL path map. *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"` // Name - Name of the URL path map that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (agupm ApplicationGatewayURLPathMap) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMap.
func (agupm *ApplicationGatewayURLPathMap) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayURLPathMap struct.
ApplicationGatewayURLPathMapPropertiesFormat properties of UrlPathMap of the application gateway.
type ApplicationGatewayURLPathMapPropertiesFormat struct { // DefaultBackendAddressPool - Default backend address pool resource of URL path map. DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"` // DefaultBackendHTTPSettings - Default backend http settings resource of URL path map. DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"` // DefaultRewriteRuleSet - Default Rewrite rule set resource of URL path map. DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"` // DefaultRedirectConfiguration - Default redirect configuration resource of URL path map. DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"` // DefaultLoadDistributionPolicy - Default Load Distribution Policy resource of URL path map. DefaultLoadDistributionPolicy *SubResource `json:"defaultLoadDistributionPolicy,omitempty"` // PathRules - Path rule of URL path map resource. PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the URL path map resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (agupmpf ApplicationGatewayURLPathMapPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMapPropertiesFormat.
ApplicationGatewayWebApplicationFirewallConfiguration application gateway web application firewall configuration.
type ApplicationGatewayWebApplicationFirewallConfiguration struct { // Enabled - Whether the web application firewall is enabled or not. Enabled *bool `json:"enabled,omitempty"` // FirewallMode - Web application firewall mode. Possible values include: 'ApplicationGatewayFirewallModeDetection', 'ApplicationGatewayFirewallModePrevention' FirewallMode ApplicationGatewayFirewallMode `json:"firewallMode,omitempty"` // RuleSetType - The type of the web application firewall rule set. Possible values are: 'OWASP'. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion - The version of the rule set type. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` // DisabledRuleGroups - The disabled rule groups. DisabledRuleGroups *[]ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"` // RequestBodyCheck - Whether allow WAF to check request Body. RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` // MaxRequestBodySize - Maximum request body size for WAF. MaxRequestBodySize *int32 `json:"maxRequestBodySize,omitempty"` // MaxRequestBodySizeInKb - Maximum request body size in Kb for WAF. MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"` // FileUploadLimitInMb - Maximum file upload size in Mb for WAF. FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"` // Exclusions - The exclusion list. Exclusions *[]ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"` }
ApplicationGatewaysBackendHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysBackendHealthFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (ApplicationGatewayBackendHealth, error) }
func (future *ApplicationGatewaysBackendHealthFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewaysBackendHealthOnDemandFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysBackendHealthOnDemandFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (ApplicationGatewayBackendHealthOnDemand, error) }
func (future *ApplicationGatewaysBackendHealthOnDemandFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewaysClient is the network Client
type ApplicationGatewaysClient struct { BaseClient }
func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient
NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.
func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient
NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ApplicationGatewaysClient) BackendHealth(ctx context.Context, resourceGroupName string, applicationGatewayName string, expand string) (result ApplicationGatewaysBackendHealthFuture, err error)
BackendHealth gets the backend health of the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. expand - expands BackendAddressPool and BackendHttpSettings referenced in backend health.
func (client ApplicationGatewaysClient) BackendHealthOnDemand(ctx context.Context, resourceGroupName string, applicationGatewayName string, probeRequest ApplicationGatewayOnDemandProbe, expand string) (result ApplicationGatewaysBackendHealthOnDemandFuture, err error)
BackendHealthOnDemand gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. probeRequest - request body for on-demand test probe operation. expand - expands BackendAddressPool and BackendHttpSettings referenced in backend health.
func (client ApplicationGatewaysClient) BackendHealthOnDemandPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, probeRequest ApplicationGatewayOnDemandProbe, expand string) (*http.Request, error)
BackendHealthOnDemandPreparer prepares the BackendHealthOnDemand request.
func (client ApplicationGatewaysClient) BackendHealthOnDemandResponder(resp *http.Response) (result ApplicationGatewayBackendHealthOnDemand, err error)
BackendHealthOnDemandResponder handles the response to the BackendHealthOnDemand request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) BackendHealthOnDemandSender(req *http.Request) (future ApplicationGatewaysBackendHealthOnDemandFuture, err error)
BackendHealthOnDemandSender sends the BackendHealthOnDemand request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) BackendHealthPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, expand string) (*http.Request, error)
BackendHealthPreparer prepares the BackendHealth request.
func (client ApplicationGatewaysClient) BackendHealthResponder(resp *http.Response) (result ApplicationGatewayBackendHealth, err error)
BackendHealthResponder handles the response to the BackendHealth request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) BackendHealthSender(req *http.Request) (future ApplicationGatewaysBackendHealthFuture, err error)
BackendHealthSender sends the BackendHealth request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (result ApplicationGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. parameters - parameters supplied to the create or update application gateway operation.
func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ApplicationGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ApplicationGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error)
Delete deletes the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ApplicationGatewaysClient) 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 ApplicationGatewaysClient) DeleteSender(req *http.Request) (future ApplicationGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)
Get gets the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ApplicationGatewaysClient) GetResponder(resp *http.Response) (result ApplicationGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) 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 ApplicationGatewaysClient) GetSslPredefinedPolicy(ctx context.Context, predefinedPolicyName string) (result ApplicationGatewaySslPredefinedPolicy, err error)
GetSslPredefinedPolicy gets Ssl predefined policy with the specified policy name. Parameters: predefinedPolicyName - name of Ssl predefined policy.
func (client ApplicationGatewaysClient) GetSslPredefinedPolicyPreparer(ctx context.Context, predefinedPolicyName string) (*http.Request, error)
GetSslPredefinedPolicyPreparer prepares the GetSslPredefinedPolicy request.
func (client ApplicationGatewaysClient) GetSslPredefinedPolicyResponder(resp *http.Response) (result ApplicationGatewaySslPredefinedPolicy, err error)
GetSslPredefinedPolicyResponder handles the response to the GetSslPredefinedPolicy request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) GetSslPredefinedPolicySender(req *http.Request) (*http.Response, error)
GetSslPredefinedPolicySender sends the GetSslPredefinedPolicy request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultPage, err error)
List lists all application gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ApplicationGatewaysClient) ListAll(ctx context.Context) (result ApplicationGatewayListResultPage, err error)
ListAll gets all the application gateways in a subscription.
func (client ApplicationGatewaysClient) ListAllComplete(ctx context.Context) (result ApplicationGatewayListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationGatewaysClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client ApplicationGatewaysClient) ListAllResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableRequestHeaders(ctx context.Context) (result ListString, err error)
ListAvailableRequestHeaders lists all available request headers.
func (client ApplicationGatewaysClient) ListAvailableRequestHeadersPreparer(ctx context.Context) (*http.Request, error)
ListAvailableRequestHeadersPreparer prepares the ListAvailableRequestHeaders request.
func (client ApplicationGatewaysClient) ListAvailableRequestHeadersResponder(resp *http.Response) (result ListString, err error)
ListAvailableRequestHeadersResponder handles the response to the ListAvailableRequestHeaders request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableRequestHeadersSender(req *http.Request) (*http.Response, error)
ListAvailableRequestHeadersSender sends the ListAvailableRequestHeaders request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableResponseHeaders(ctx context.Context) (result ListString, err error)
ListAvailableResponseHeaders lists all available response headers.
func (client ApplicationGatewaysClient) ListAvailableResponseHeadersPreparer(ctx context.Context) (*http.Request, error)
ListAvailableResponseHeadersPreparer prepares the ListAvailableResponseHeaders request.
func (client ApplicationGatewaysClient) ListAvailableResponseHeadersResponder(resp *http.Response) (result ListString, err error)
ListAvailableResponseHeadersResponder handles the response to the ListAvailableResponseHeaders request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableResponseHeadersSender(req *http.Request) (*http.Response, error)
ListAvailableResponseHeadersSender sends the ListAvailableResponseHeaders request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableServerVariables(ctx context.Context) (result ListString, err error)
ListAvailableServerVariables lists all available server variables.
func (client ApplicationGatewaysClient) ListAvailableServerVariablesPreparer(ctx context.Context) (*http.Request, error)
ListAvailableServerVariablesPreparer prepares the ListAvailableServerVariables request.
func (client ApplicationGatewaysClient) ListAvailableServerVariablesResponder(resp *http.Response) (result ListString, err error)
ListAvailableServerVariablesResponder handles the response to the ListAvailableServerVariables request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableServerVariablesSender(req *http.Request) (*http.Response, error)
ListAvailableServerVariablesSender sends the ListAvailableServerVariables request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableSslOptions(ctx context.Context) (result ApplicationGatewayAvailableSslOptions, err error)
ListAvailableSslOptions lists available Ssl options for configuring Ssl policy.
func (client ApplicationGatewaysClient) ListAvailableSslOptionsPreparer(ctx context.Context) (*http.Request, error)
ListAvailableSslOptionsPreparer prepares the ListAvailableSslOptions request.
func (client ApplicationGatewaysClient) ListAvailableSslOptionsResponder(resp *http.Response) (result ApplicationGatewayAvailableSslOptions, err error)
ListAvailableSslOptionsResponder handles the response to the ListAvailableSslOptions request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableSslOptionsSender(req *http.Request) (*http.Response, error)
ListAvailableSslOptionsSender sends the ListAvailableSslOptions request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies(ctx context.Context) (result ApplicationGatewayAvailableSslPredefinedPoliciesPage, err error)
ListAvailableSslPredefinedPolicies lists all SSL predefined policies for configuring Ssl policy.
func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete(ctx context.Context) (result ApplicationGatewayAvailableSslPredefinedPoliciesIterator, err error)
ListAvailableSslPredefinedPoliciesComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesPreparer(ctx context.Context) (*http.Request, error)
ListAvailableSslPredefinedPoliciesPreparer prepares the ListAvailableSslPredefinedPolicies request.
func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesResponder(resp *http.Response) (result ApplicationGatewayAvailableSslPredefinedPolicies, err error)
ListAvailableSslPredefinedPoliciesResponder handles the response to the ListAvailableSslPredefinedPolicies request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesSender(req *http.Request) (*http.Response, error)
ListAvailableSslPredefinedPoliciesSender sends the ListAvailableSslPredefinedPolicies request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListAvailableWafRuleSets(ctx context.Context) (result ApplicationGatewayAvailableWafRuleSetsResult, err error)
ListAvailableWafRuleSets lists all available web application firewall rule sets.
func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsPreparer(ctx context.Context) (*http.Request, error)
ListAvailableWafRuleSetsPreparer prepares the ListAvailableWafRuleSets request.
func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder(resp *http.Response) (result ApplicationGatewayAvailableWafRuleSetsResult, err error)
ListAvailableWafRuleSetsResponder handles the response to the ListAvailableWafRuleSets request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsSender(req *http.Request) (*http.Response, error)
ListAvailableWafRuleSetsSender sends the ListAvailableWafRuleSets request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ApplicationGatewaysClient) ListResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) 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.
func (client ApplicationGatewaysClient) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error)
Start starts the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewaysClient) StartPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (client ApplicationGatewaysClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) StartSender(req *http.Request) (future ApplicationGatewaysStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error)
Stop stops the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.
func (client ApplicationGatewaysClient) StopPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (client ApplicationGatewaysClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) StopSender(req *http.Request) (future ApplicationGatewaysStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject) (result ApplicationGateway, err error)
UpdateTags updates the specified application gateway tags. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. parameters - parameters supplied to update application gateway tags.
func (client ApplicationGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ApplicationGatewaysClient) UpdateTagsResponder(resp *http.Response) (result ApplicationGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ApplicationGatewaysClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ApplicationGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (ApplicationGateway, error) }
func (future *ApplicationGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (autorest.Response, error) }
func (future *ApplicationGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewaysStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (autorest.Response, error) }
func (future *ApplicationGatewaysStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationGatewaysStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationGatewaysStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationGatewaysClient) (autorest.Response, error) }
func (future *ApplicationGatewaysStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationRule rule of type application.
type ApplicationRule struct { // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses or Service Tags. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // Protocols - Array of Application Protocols. Protocols *[]FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"` // TargetFqdns - List of FQDNs for this rule. TargetFqdns *[]string `json:"targetFqdns,omitempty"` // TargetUrls - List of Urls for this rule condition. TargetUrls *[]string `json:"targetUrls,omitempty"` // FqdnTags - List of FQDN Tags for this rule. FqdnTags *[]string `json:"fqdnTags,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` // TerminateTLS - Terminate TLS connections for this rule. TerminateTLS *bool `json:"terminateTLS,omitempty"` // WebCategories - List of destination azure web categories. WebCategories *[]string `json:"webCategories,omitempty"` // Name - Name of the rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeApplicationRule', 'RuleTypeNatRule', 'RuleTypeNetworkRule' RuleType RuleType `json:"ruleType,omitempty"` }
func (ar ApplicationRule) AsApplicationRule() (*ApplicationRule, bool)
AsApplicationRule is the BasicFirewallPolicyRule implementation for ApplicationRule.
func (ar ApplicationRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)
AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for ApplicationRule.
func (ar ApplicationRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for ApplicationRule.
func (ar ApplicationRule) AsNatRule() (*NatRule, bool)
AsNatRule is the BasicFirewallPolicyRule implementation for ApplicationRule.
func (ar ApplicationRule) AsRule() (*Rule, bool)
AsRule is the BasicFirewallPolicyRule implementation for ApplicationRule.
func (ar ApplicationRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationRule.
ApplicationSecurityGroup an application security group in a resource group.
type ApplicationSecurityGroup struct { autorest.Response `json:"-"` // ApplicationSecurityGroupPropertiesFormat - Properties of the application security group. *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (asg ApplicationSecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationSecurityGroup.
func (asg *ApplicationSecurityGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationSecurityGroup struct.
ApplicationSecurityGroupListResult a list of application security groups.
type ApplicationSecurityGroupListResult struct { autorest.Response `json:"-"` // Value - A list of application security groups. Value *[]ApplicationSecurityGroup `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (asglr ApplicationSecurityGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (asglr ApplicationSecurityGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationSecurityGroupListResult.
ApplicationSecurityGroupListResultIterator provides access to a complete listing of ApplicationSecurityGroup values.
type ApplicationSecurityGroupListResultIterator struct {
// contains filtered or unexported fields
}
func NewApplicationSecurityGroupListResultIterator(page ApplicationSecurityGroupListResultPage) ApplicationSecurityGroupListResultIterator
Creates a new instance of the ApplicationSecurityGroupListResultIterator type.
func (iter *ApplicationSecurityGroupListResultIterator) 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 *ApplicationSecurityGroupListResultIterator) 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 ApplicationSecurityGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationSecurityGroupListResultIterator) Response() ApplicationSecurityGroupListResult
Response returns the raw server response from the last page request.
func (iter ApplicationSecurityGroupListResultIterator) Value() ApplicationSecurityGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationSecurityGroupListResultPage contains a page of ApplicationSecurityGroup values.
type ApplicationSecurityGroupListResultPage struct {
// contains filtered or unexported fields
}
func NewApplicationSecurityGroupListResultPage(cur ApplicationSecurityGroupListResult, getNextPage func(context.Context, ApplicationSecurityGroupListResult) (ApplicationSecurityGroupListResult, error)) ApplicationSecurityGroupListResultPage
Creates a new instance of the ApplicationSecurityGroupListResultPage type.
func (page *ApplicationSecurityGroupListResultPage) 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 *ApplicationSecurityGroupListResultPage) 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 ApplicationSecurityGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationSecurityGroupListResultPage) Response() ApplicationSecurityGroupListResult
Response returns the raw server response from the last page request.
func (page ApplicationSecurityGroupListResultPage) Values() []ApplicationSecurityGroup
Values returns the slice of values for the current page or nil if there are no values.
ApplicationSecurityGroupPropertiesFormat application security group properties.
type ApplicationSecurityGroupPropertiesFormat struct { // ResourceGUID - READ-ONLY; The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application security group resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (asgpf ApplicationSecurityGroupPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationSecurityGroupPropertiesFormat.
ApplicationSecurityGroupsClient is the network Client
type ApplicationSecurityGroupsClient struct { BaseClient }
func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecurityGroupsClient
NewApplicationSecurityGroupsClient creates an instance of the ApplicationSecurityGroupsClient client.
func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient
NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ApplicationSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup) (result ApplicationSecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group. parameters - parameters supplied to the create or update ApplicationSecurityGroup operation.
func (client ApplicationSecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ApplicationSecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationSecurityGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ApplicationSecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationSecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ApplicationSecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroupsDeleteFuture, err error)
Delete deletes the specified application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group.
func (client ApplicationSecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ApplicationSecurityGroupsClient) 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 ApplicationSecurityGroupsClient) DeleteSender(req *http.Request) (future ApplicationSecurityGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ApplicationSecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroup, err error)
Get gets information about the specified application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group.
func (client ApplicationSecurityGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ApplicationSecurityGroupsClient) GetResponder(resp *http.Response) (result ApplicationSecurityGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ApplicationSecurityGroupsClient) 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 ApplicationSecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result ApplicationSecurityGroupListResultPage, err error)
List gets all the application security groups in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ApplicationSecurityGroupsClient) ListAll(ctx context.Context) (result ApplicationSecurityGroupListResultPage, err error)
ListAll gets all application security groups in a subscription.
func (client ApplicationSecurityGroupsClient) ListAllComplete(ctx context.Context) (result ApplicationSecurityGroupListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationSecurityGroupsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client ApplicationSecurityGroupsClient) ListAllResponder(resp *http.Response) (result ApplicationSecurityGroupListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client ApplicationSecurityGroupsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client ApplicationSecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationSecurityGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ApplicationSecurityGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ApplicationSecurityGroupsClient) ListResponder(resp *http.Response) (result ApplicationSecurityGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ApplicationSecurityGroupsClient) 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.
func (client ApplicationSecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters TagsObject) (result ApplicationSecurityGroup, err error)
UpdateTags updates an application security group's tags. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group. parameters - parameters supplied to update application security group tags.
func (client ApplicationSecurityGroupsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ApplicationSecurityGroupsClient) UpdateTagsResponder(resp *http.Response) (result ApplicationSecurityGroup, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ApplicationSecurityGroupsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ApplicationSecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationSecurityGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationSecurityGroupsClient) (ApplicationSecurityGroup, error) }
func (future *ApplicationSecurityGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationSecurityGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ApplicationSecurityGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ApplicationSecurityGroupsClient) (autorest.Response, error) }
func (future *ApplicationSecurityGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AssociationType enumerates the values for association type.
type AssociationType string
const ( // AssociationTypeAssociated ... AssociationTypeAssociated AssociationType = "Associated" // AssociationTypeContains ... AssociationTypeContains AssociationType = "Contains" )
func PossibleAssociationTypeValues() []AssociationType
PossibleAssociationTypeValues returns an array of possible values for the AssociationType const type.
AuthenticationMethod enumerates the values for authentication method.
type AuthenticationMethod string
const ( // AuthenticationMethodEAPMSCHAPv2 ... AuthenticationMethodEAPMSCHAPv2 AuthenticationMethod = "EAPMSCHAPv2" // AuthenticationMethodEAPTLS ... AuthenticationMethodEAPTLS AuthenticationMethod = "EAPTLS" )
func PossibleAuthenticationMethodValues() []AuthenticationMethod
PossibleAuthenticationMethodValues returns an array of possible values for the AuthenticationMethod const type.
AuthorizationListResult response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit.
type AuthorizationListResult struct { autorest.Response `json:"-"` // Value - The authorizations in an ExpressRoute Circuit. Value *[]ExpressRouteCircuitAuthorization `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (alr AuthorizationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AuthorizationListResultIterator provides access to a complete listing of ExpressRouteCircuitAuthorization values.
type AuthorizationListResultIterator struct {
// contains filtered or unexported fields
}
func NewAuthorizationListResultIterator(page AuthorizationListResultPage) AuthorizationListResultIterator
Creates a new instance of the AuthorizationListResultIterator type.
func (iter *AuthorizationListResultIterator) 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 *AuthorizationListResultIterator) 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 AuthorizationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AuthorizationListResultIterator) Response() AuthorizationListResult
Response returns the raw server response from the last page request.
func (iter AuthorizationListResultIterator) Value() ExpressRouteCircuitAuthorization
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AuthorizationListResultPage contains a page of ExpressRouteCircuitAuthorization values.
type AuthorizationListResultPage struct {
// contains filtered or unexported fields
}
func NewAuthorizationListResultPage(cur AuthorizationListResult, getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage
Creates a new instance of the AuthorizationListResultPage type.
func (page *AuthorizationListResultPage) 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 *AuthorizationListResultPage) 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 AuthorizationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AuthorizationListResultPage) Response() AuthorizationListResult
Response returns the raw server response from the last page request.
func (page AuthorizationListResultPage) Values() []ExpressRouteCircuitAuthorization
Values returns the slice of values for the current page or nil if there are no values.
AuthorizationPropertiesFormat properties of ExpressRouteCircuitAuthorization.
type AuthorizationPropertiesFormat struct { // AuthorizationKey - The authorization key. AuthorizationKey *string `json:"authorizationKey,omitempty"` // AuthorizationUseStatus - The authorization use status. Possible values include: 'AuthorizationUseStatusAvailable', 'AuthorizationUseStatusInUse' AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the authorization resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (apf AuthorizationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AuthorizationPropertiesFormat.
AuthorizationUseStatus enumerates the values for authorization use status.
type AuthorizationUseStatus string
const ( // AuthorizationUseStatusAvailable ... AuthorizationUseStatusAvailable AuthorizationUseStatus = "Available" // AuthorizationUseStatusInUse ... AuthorizationUseStatusInUse AuthorizationUseStatus = "InUse" )
func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus
PossibleAuthorizationUseStatusValues returns an array of possible values for the AuthorizationUseStatus const type.
AutoApprovedPrivateLinkService the information of an AutoApprovedPrivateLinkService.
type AutoApprovedPrivateLinkService struct { // PrivateLinkService - The id of the private link service resource. PrivateLinkService *string `json:"privateLinkService,omitempty"` }
AutoApprovedPrivateLinkServicesResult an array of private link service id that can be linked to a private end point with auto approved.
type AutoApprovedPrivateLinkServicesResult struct { autorest.Response `json:"-"` // Value - An array of auto approved private link service. Value *[]AutoApprovedPrivateLinkService `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (aaplsr AutoApprovedPrivateLinkServicesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (aaplsr AutoApprovedPrivateLinkServicesResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutoApprovedPrivateLinkServicesResult.
AutoApprovedPrivateLinkServicesResultIterator provides access to a complete listing of AutoApprovedPrivateLinkService values.
type AutoApprovedPrivateLinkServicesResultIterator struct {
// contains filtered or unexported fields
}
func NewAutoApprovedPrivateLinkServicesResultIterator(page AutoApprovedPrivateLinkServicesResultPage) AutoApprovedPrivateLinkServicesResultIterator
Creates a new instance of the AutoApprovedPrivateLinkServicesResultIterator type.
func (iter *AutoApprovedPrivateLinkServicesResultIterator) 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 *AutoApprovedPrivateLinkServicesResultIterator) 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 AutoApprovedPrivateLinkServicesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AutoApprovedPrivateLinkServicesResultIterator) Response() AutoApprovedPrivateLinkServicesResult
Response returns the raw server response from the last page request.
func (iter AutoApprovedPrivateLinkServicesResultIterator) Value() AutoApprovedPrivateLinkService
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AutoApprovedPrivateLinkServicesResultPage contains a page of AutoApprovedPrivateLinkService values.
type AutoApprovedPrivateLinkServicesResultPage struct {
// contains filtered or unexported fields
}
func NewAutoApprovedPrivateLinkServicesResultPage(cur AutoApprovedPrivateLinkServicesResult, getNextPage func(context.Context, AutoApprovedPrivateLinkServicesResult) (AutoApprovedPrivateLinkServicesResult, error)) AutoApprovedPrivateLinkServicesResultPage
Creates a new instance of the AutoApprovedPrivateLinkServicesResultPage type.
func (page *AutoApprovedPrivateLinkServicesResultPage) 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 *AutoApprovedPrivateLinkServicesResultPage) 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 AutoApprovedPrivateLinkServicesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AutoApprovedPrivateLinkServicesResultPage) Response() AutoApprovedPrivateLinkServicesResult
Response returns the raw server response from the last page request.
func (page AutoApprovedPrivateLinkServicesResultPage) Values() []AutoApprovedPrivateLinkService
Values returns the slice of values for the current page or nil if there are no values.
Availability availability of the metric.
type Availability struct { // TimeGrain - The time grain of the availability. TimeGrain *string `json:"timeGrain,omitempty"` // Retention - The retention of the availability. Retention *string `json:"retention,omitempty"` // BlobDuration - Duration of the availability blob. BlobDuration *string `json:"blobDuration,omitempty"` }
AvailableDelegation the serviceName of an AvailableDelegation indicates a possible delegation for a subnet.
type AvailableDelegation struct { // Name - The name of the AvailableDelegation resource. Name *string `json:"name,omitempty"` // ID - A unique identifier of the AvailableDelegation resource. ID *string `json:"id,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ServiceName - The name of the service and resource. ServiceName *string `json:"serviceName,omitempty"` // Actions - The actions permitted to the service upon delegation. Actions *[]string `json:"actions,omitempty"` }
AvailableDelegationsClient is the network Client
type AvailableDelegationsClient struct { BaseClient }
func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsClient
NewAvailableDelegationsClient creates an instance of the AvailableDelegationsClient client.
func NewAvailableDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableDelegationsClient
NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AvailableDelegationsClient) List(ctx context.Context, location string) (result AvailableDelegationsResultPage, err error)
List gets all of the available subnet delegations for this subscription in this region. Parameters: location - the location of the subnet.
func (client AvailableDelegationsClient) ListComplete(ctx context.Context, location string) (result AvailableDelegationsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailableDelegationsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AvailableDelegationsClient) ListResponder(resp *http.Response) (result AvailableDelegationsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AvailableDelegationsClient) 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.
AvailableDelegationsResult an array of available delegations.
type AvailableDelegationsResult struct { autorest.Response `json:"-"` // Value - An array of available delegations. Value *[]AvailableDelegation `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (adr AvailableDelegationsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (adr AvailableDelegationsResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailableDelegationsResult.
AvailableDelegationsResultIterator provides access to a complete listing of AvailableDelegation values.
type AvailableDelegationsResultIterator struct {
// contains filtered or unexported fields
}
func NewAvailableDelegationsResultIterator(page AvailableDelegationsResultPage) AvailableDelegationsResultIterator
Creates a new instance of the AvailableDelegationsResultIterator type.
func (iter *AvailableDelegationsResultIterator) 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 *AvailableDelegationsResultIterator) 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 AvailableDelegationsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AvailableDelegationsResultIterator) Response() AvailableDelegationsResult
Response returns the raw server response from the last page request.
func (iter AvailableDelegationsResultIterator) Value() AvailableDelegation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AvailableDelegationsResultPage contains a page of AvailableDelegation values.
type AvailableDelegationsResultPage struct {
// contains filtered or unexported fields
}
func NewAvailableDelegationsResultPage(cur AvailableDelegationsResult, getNextPage func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error)) AvailableDelegationsResultPage
Creates a new instance of the AvailableDelegationsResultPage type.
func (page *AvailableDelegationsResultPage) 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 *AvailableDelegationsResultPage) 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 AvailableDelegationsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AvailableDelegationsResultPage) Response() AvailableDelegationsResult
Response returns the raw server response from the last page request.
func (page AvailableDelegationsResultPage) Values() []AvailableDelegation
Values returns the slice of values for the current page or nil if there are no values.
AvailableEndpointServicesClient is the network Client
type AvailableEndpointServicesClient struct { BaseClient }
func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpointServicesClient
NewAvailableEndpointServicesClient creates an instance of the AvailableEndpointServicesClient client.
func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient
NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AvailableEndpointServicesClient) List(ctx context.Context, location string) (result EndpointServicesListResultPage, err error)
List list what values of endpoint services are available for use. Parameters: location - the location to check available endpoint services.
func (client AvailableEndpointServicesClient) ListComplete(ctx context.Context, location string) (result EndpointServicesListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailableEndpointServicesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AvailableEndpointServicesClient) ListResponder(resp *http.Response) (result EndpointServicesListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AvailableEndpointServicesClient) 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.
AvailablePrivateEndpointType the information of an AvailablePrivateEndpointType.
type AvailablePrivateEndpointType struct { // Name - The name of the service and resource. Name *string `json:"name,omitempty"` // ID - A unique identifier of the AvailablePrivateEndpoint Type resource. ID *string `json:"id,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ResourceName - The name of the service and resource. ResourceName *string `json:"resourceName,omitempty"` // DisplayName - Display name of the resource. DisplayName *string `json:"displayName,omitempty"` }
AvailablePrivateEndpointTypesClient is the network Client
type AvailablePrivateEndpointTypesClient struct { BaseClient }
func NewAvailablePrivateEndpointTypesClient(subscriptionID string) AvailablePrivateEndpointTypesClient
NewAvailablePrivateEndpointTypesClient creates an instance of the AvailablePrivateEndpointTypesClient client.
func NewAvailablePrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailablePrivateEndpointTypesClient
NewAvailablePrivateEndpointTypesClientWithBaseURI creates an instance of the AvailablePrivateEndpointTypesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AvailablePrivateEndpointTypesClient) List(ctx context.Context, location string) (result AvailablePrivateEndpointTypesResultPage, err error)
List returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. Parameters: location - the location of the domain name.
func (client AvailablePrivateEndpointTypesClient) ListByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result AvailablePrivateEndpointTypesResultPage, err error)
ListByResourceGroup returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.
func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result AvailablePrivateEndpointTypesResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupResponder(resp *http.Response) (result AvailablePrivateEndpointTypesResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AvailablePrivateEndpointTypesClient) ListComplete(ctx context.Context, location string) (result AvailablePrivateEndpointTypesResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailablePrivateEndpointTypesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AvailablePrivateEndpointTypesClient) ListResponder(resp *http.Response) (result AvailablePrivateEndpointTypesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AvailablePrivateEndpointTypesClient) 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.
AvailablePrivateEndpointTypesResult an array of available PrivateEndpoint types.
type AvailablePrivateEndpointTypesResult struct { autorest.Response `json:"-"` // Value - An array of available privateEndpoint type. Value *[]AvailablePrivateEndpointType `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (apetr AvailablePrivateEndpointTypesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (apetr AvailablePrivateEndpointTypesResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailablePrivateEndpointTypesResult.
AvailablePrivateEndpointTypesResultIterator provides access to a complete listing of AvailablePrivateEndpointType values.
type AvailablePrivateEndpointTypesResultIterator struct {
// contains filtered or unexported fields
}
func NewAvailablePrivateEndpointTypesResultIterator(page AvailablePrivateEndpointTypesResultPage) AvailablePrivateEndpointTypesResultIterator
Creates a new instance of the AvailablePrivateEndpointTypesResultIterator type.
func (iter *AvailablePrivateEndpointTypesResultIterator) 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 *AvailablePrivateEndpointTypesResultIterator) 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 AvailablePrivateEndpointTypesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AvailablePrivateEndpointTypesResultIterator) Response() AvailablePrivateEndpointTypesResult
Response returns the raw server response from the last page request.
func (iter AvailablePrivateEndpointTypesResultIterator) Value() AvailablePrivateEndpointType
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AvailablePrivateEndpointTypesResultPage contains a page of AvailablePrivateEndpointType values.
type AvailablePrivateEndpointTypesResultPage struct {
// contains filtered or unexported fields
}
func NewAvailablePrivateEndpointTypesResultPage(cur AvailablePrivateEndpointTypesResult, getNextPage func(context.Context, AvailablePrivateEndpointTypesResult) (AvailablePrivateEndpointTypesResult, error)) AvailablePrivateEndpointTypesResultPage
Creates a new instance of the AvailablePrivateEndpointTypesResultPage type.
func (page *AvailablePrivateEndpointTypesResultPage) 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 *AvailablePrivateEndpointTypesResultPage) 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 AvailablePrivateEndpointTypesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AvailablePrivateEndpointTypesResultPage) Response() AvailablePrivateEndpointTypesResult
Response returns the raw server response from the last page request.
func (page AvailablePrivateEndpointTypesResultPage) Values() []AvailablePrivateEndpointType
Values returns the slice of values for the current page or nil if there are no values.
AvailableProvidersList list of available countries with details.
type AvailableProvidersList struct { autorest.Response `json:"-"` // Countries - List of available countries. Countries *[]AvailableProvidersListCountry `json:"countries,omitempty"` }
AvailableProvidersListCity city or town details.
type AvailableProvidersListCity struct { // CityName - The city or town name. CityName *string `json:"cityName,omitempty"` // Providers - A list of Internet service providers. Providers *[]string `json:"providers,omitempty"` }
AvailableProvidersListCountry country details.
type AvailableProvidersListCountry struct { // CountryName - The country name. CountryName *string `json:"countryName,omitempty"` // Providers - A list of Internet service providers. Providers *[]string `json:"providers,omitempty"` // States - List of available states in the country. States *[]AvailableProvidersListState `json:"states,omitempty"` }
AvailableProvidersListParameters constraints that determine the list of available Internet service providers.
type AvailableProvidersListParameters struct { // AzureLocations - A list of Azure regions. AzureLocations *[]string `json:"azureLocations,omitempty"` // Country - The country for available providers list. Country *string `json:"country,omitempty"` // State - The state for available providers list. State *string `json:"state,omitempty"` // City - The city or town for available providers list. City *string `json:"city,omitempty"` }
AvailableProvidersListState state details.
type AvailableProvidersListState struct { // StateName - The state name. StateName *string `json:"stateName,omitempty"` // Providers - A list of Internet service providers. Providers *[]string `json:"providers,omitempty"` // Cities - List of available cities or towns in the state. Cities *[]AvailableProvidersListCity `json:"cities,omitempty"` }
AvailableResourceGroupDelegationsClient is the network Client
type AvailableResourceGroupDelegationsClient struct { BaseClient }
func NewAvailableResourceGroupDelegationsClient(subscriptionID string) AvailableResourceGroupDelegationsClient
NewAvailableResourceGroupDelegationsClient creates an instance of the AvailableResourceGroupDelegationsClient client.
func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient
NewAvailableResourceGroupDelegationsClientWithBaseURI creates an instance of the AvailableResourceGroupDelegationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AvailableResourceGroupDelegationsClient) List(ctx context.Context, location string, resourceGroupName string) (result AvailableDelegationsResultPage, err error)
List gets all of the available subnet delegations for this resource group in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.
func (client AvailableResourceGroupDelegationsClient) ListComplete(ctx context.Context, location string, resourceGroupName string) (result AvailableDelegationsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailableResourceGroupDelegationsClient) ListPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AvailableResourceGroupDelegationsClient) ListResponder(resp *http.Response) (result AvailableDelegationsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AvailableResourceGroupDelegationsClient) 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.
AvailableServiceAlias the available service alias.
type AvailableServiceAlias struct { // Name - The name of the service alias. Name *string `json:"name,omitempty"` // ID - The ID of the service alias. ID *string `json:"id,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // ResourceName - The resource name of the service alias. ResourceName *string `json:"resourceName,omitempty"` }
AvailableServiceAliasesClient is the network Client
type AvailableServiceAliasesClient struct { BaseClient }
func NewAvailableServiceAliasesClient(subscriptionID string) AvailableServiceAliasesClient
NewAvailableServiceAliasesClient creates an instance of the AvailableServiceAliasesClient client.
func NewAvailableServiceAliasesClientWithBaseURI(baseURI string, subscriptionID string) AvailableServiceAliasesClient
NewAvailableServiceAliasesClientWithBaseURI creates an instance of the AvailableServiceAliasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AvailableServiceAliasesClient) List(ctx context.Context, location string) (result AvailableServiceAliasesResultPage, err error)
List gets all available service aliases for this subscription in this region. Parameters: location - the location.
func (client AvailableServiceAliasesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, location string) (result AvailableServiceAliasesResultPage, err error)
ListByResourceGroup gets all available service aliases for this resource group in this region. Parameters: resourceGroupName - the name of the resource group. location - the location.
func (client AvailableServiceAliasesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, location string) (result AvailableServiceAliasesResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailableServiceAliasesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AvailableServiceAliasesClient) ListByResourceGroupResponder(resp *http.Response) (result AvailableServiceAliasesResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AvailableServiceAliasesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AvailableServiceAliasesClient) ListComplete(ctx context.Context, location string) (result AvailableServiceAliasesResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AvailableServiceAliasesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AvailableServiceAliasesClient) ListResponder(resp *http.Response) (result AvailableServiceAliasesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AvailableServiceAliasesClient) 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.
AvailableServiceAliasesResult an array of available service aliases.
type AvailableServiceAliasesResult struct { autorest.Response `json:"-"` // Value - An array of available service aliases. Value *[]AvailableServiceAlias `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (asar AvailableServiceAliasesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (asar AvailableServiceAliasesResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailableServiceAliasesResult.
AvailableServiceAliasesResultIterator provides access to a complete listing of AvailableServiceAlias values.
type AvailableServiceAliasesResultIterator struct {
// contains filtered or unexported fields
}
func NewAvailableServiceAliasesResultIterator(page AvailableServiceAliasesResultPage) AvailableServiceAliasesResultIterator
Creates a new instance of the AvailableServiceAliasesResultIterator type.
func (iter *AvailableServiceAliasesResultIterator) 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 *AvailableServiceAliasesResultIterator) 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 AvailableServiceAliasesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AvailableServiceAliasesResultIterator) Response() AvailableServiceAliasesResult
Response returns the raw server response from the last page request.
func (iter AvailableServiceAliasesResultIterator) Value() AvailableServiceAlias
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AvailableServiceAliasesResultPage contains a page of AvailableServiceAlias values.
type AvailableServiceAliasesResultPage struct {
// contains filtered or unexported fields
}
func NewAvailableServiceAliasesResultPage(cur AvailableServiceAliasesResult, getNextPage func(context.Context, AvailableServiceAliasesResult) (AvailableServiceAliasesResult, error)) AvailableServiceAliasesResultPage
Creates a new instance of the AvailableServiceAliasesResultPage type.
func (page *AvailableServiceAliasesResultPage) 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 *AvailableServiceAliasesResultPage) 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 AvailableServiceAliasesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AvailableServiceAliasesResultPage) Response() AvailableServiceAliasesResult
Response returns the raw server response from the last page request.
func (page AvailableServiceAliasesResultPage) Values() []AvailableServiceAlias
Values returns the slice of values for the current page or nil if there are no values.
AzureAsyncOperationResult the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.
type AzureAsyncOperationResult struct { // Status - Status of the Azure async operation. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed' Status OperationStatus `json:"status,omitempty"` // Error - Details of the error occurred during specified asynchronous operation. Error *Error `json:"error,omitempty"` }
AzureFirewall azure Firewall resource.
type AzureFirewall struct { autorest.Response `json:"-"` // AzureFirewallPropertiesFormat - Properties of the azure firewall. *AzureFirewallPropertiesFormat `json:"properties,omitempty"` // Zones - A list of availability zones denoting where the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (af AzureFirewall) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewall.
func (af *AzureFirewall) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewall struct.
AzureFirewallApplicationRule properties of an application rule.
type AzureFirewallApplicationRule struct { // Name - Name of the application rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // Protocols - Array of ApplicationRuleProtocols. Protocols *[]AzureFirewallApplicationRuleProtocol `json:"protocols,omitempty"` // TargetFqdns - List of FQDNs for this rule. TargetFqdns *[]string `json:"targetFqdns,omitempty"` // FqdnTags - List of FQDN Tags for this rule. FqdnTags *[]string `json:"fqdnTags,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` }
AzureFirewallApplicationRuleCollection application rule collection resource.
type AzureFirewallApplicationRuleCollection struct { // AzureFirewallApplicationRuleCollectionPropertiesFormat - Properties of the azure firewall application rule collection. *AzureFirewallApplicationRuleCollectionPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (afarc AzureFirewallApplicationRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallApplicationRuleCollection.
func (afarc *AzureFirewallApplicationRuleCollection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewallApplicationRuleCollection struct.
AzureFirewallApplicationRuleCollectionPropertiesFormat properties of the application rule collection.
type AzureFirewallApplicationRuleCollectionPropertiesFormat struct { // Priority - Priority of the application rule collection resource. Priority *int32 `json:"priority,omitempty"` // Action - The action type of a rule collection. Action *AzureFirewallRCAction `json:"action,omitempty"` // Rules - Collection of rules used by a application rule collection. Rules *[]AzureFirewallApplicationRule `json:"rules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the application rule collection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (afarcpf AzureFirewallApplicationRuleCollectionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallApplicationRuleCollectionPropertiesFormat.
AzureFirewallApplicationRuleProtocol properties of the application rule protocol.
type AzureFirewallApplicationRuleProtocol struct { // ProtocolType - Protocol type. Possible values include: 'AzureFirewallApplicationRuleProtocolTypeHTTP', 'AzureFirewallApplicationRuleProtocolTypeHTTPS', 'AzureFirewallApplicationRuleProtocolTypeMssql' ProtocolType AzureFirewallApplicationRuleProtocolType `json:"protocolType,omitempty"` // Port - Port number for the protocol, cannot be greater than 64000. This field is optional. Port *int32 `json:"port,omitempty"` }
AzureFirewallApplicationRuleProtocolType enumerates the values for azure firewall application rule protocol type.
type AzureFirewallApplicationRuleProtocolType string
const ( // AzureFirewallApplicationRuleProtocolTypeHTTP ... AzureFirewallApplicationRuleProtocolTypeHTTP AzureFirewallApplicationRuleProtocolType = "Http" // AzureFirewallApplicationRuleProtocolTypeHTTPS ... AzureFirewallApplicationRuleProtocolTypeHTTPS AzureFirewallApplicationRuleProtocolType = "Https" // AzureFirewallApplicationRuleProtocolTypeMssql ... AzureFirewallApplicationRuleProtocolTypeMssql AzureFirewallApplicationRuleProtocolType = "Mssql" )
func PossibleAzureFirewallApplicationRuleProtocolTypeValues() []AzureFirewallApplicationRuleProtocolType
PossibleAzureFirewallApplicationRuleProtocolTypeValues returns an array of possible values for the AzureFirewallApplicationRuleProtocolType const type.
AzureFirewallFqdnTag azure Firewall FQDN Tag Resource.
type AzureFirewallFqdnTag struct { // AzureFirewallFqdnTagPropertiesFormat - Properties of the azure firewall FQDN tag. *AzureFirewallFqdnTagPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (afft AzureFirewallFqdnTag) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallFqdnTag.
func (afft *AzureFirewallFqdnTag) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewallFqdnTag struct.
AzureFirewallFqdnTagListResult response for ListAzureFirewallFqdnTags API service call.
type AzureFirewallFqdnTagListResult struct { autorest.Response `json:"-"` // Value - List of Azure Firewall FQDN Tags in a resource group. Value *[]AzureFirewallFqdnTag `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (afftlr AzureFirewallFqdnTagListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AzureFirewallFqdnTagListResultIterator provides access to a complete listing of AzureFirewallFqdnTag values.
type AzureFirewallFqdnTagListResultIterator struct {
// contains filtered or unexported fields
}
func NewAzureFirewallFqdnTagListResultIterator(page AzureFirewallFqdnTagListResultPage) AzureFirewallFqdnTagListResultIterator
Creates a new instance of the AzureFirewallFqdnTagListResultIterator type.
func (iter *AzureFirewallFqdnTagListResultIterator) 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 *AzureFirewallFqdnTagListResultIterator) 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 AzureFirewallFqdnTagListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AzureFirewallFqdnTagListResultIterator) Response() AzureFirewallFqdnTagListResult
Response returns the raw server response from the last page request.
func (iter AzureFirewallFqdnTagListResultIterator) Value() AzureFirewallFqdnTag
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AzureFirewallFqdnTagListResultPage contains a page of AzureFirewallFqdnTag values.
type AzureFirewallFqdnTagListResultPage struct {
// contains filtered or unexported fields
}
func NewAzureFirewallFqdnTagListResultPage(cur AzureFirewallFqdnTagListResult, getNextPage func(context.Context, AzureFirewallFqdnTagListResult) (AzureFirewallFqdnTagListResult, error)) AzureFirewallFqdnTagListResultPage
Creates a new instance of the AzureFirewallFqdnTagListResultPage type.
func (page *AzureFirewallFqdnTagListResultPage) 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 *AzureFirewallFqdnTagListResultPage) 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 AzureFirewallFqdnTagListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AzureFirewallFqdnTagListResultPage) Response() AzureFirewallFqdnTagListResult
Response returns the raw server response from the last page request.
func (page AzureFirewallFqdnTagListResultPage) Values() []AzureFirewallFqdnTag
Values returns the slice of values for the current page or nil if there are no values.
AzureFirewallFqdnTagPropertiesFormat azure Firewall FQDN Tag Properties.
type AzureFirewallFqdnTagPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the Azure firewall FQDN tag resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // FqdnTagName - READ-ONLY; The name of this FQDN Tag. FqdnTagName *string `json:"fqdnTagName,omitempty"` }
func (afftpf AzureFirewallFqdnTagPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallFqdnTagPropertiesFormat.
AzureFirewallFqdnTagsClient is the network Client
type AzureFirewallFqdnTagsClient struct { BaseClient }
func NewAzureFirewallFqdnTagsClient(subscriptionID string) AzureFirewallFqdnTagsClient
NewAzureFirewallFqdnTagsClient creates an instance of the AzureFirewallFqdnTagsClient client.
func NewAzureFirewallFqdnTagsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallFqdnTagsClient
NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AzureFirewallFqdnTagsClient) ListAll(ctx context.Context) (result AzureFirewallFqdnTagListResultPage, err error)
ListAll gets all the Azure Firewall FQDN Tags in a subscription.
func (client AzureFirewallFqdnTagsClient) ListAllComplete(ctx context.Context) (result AzureFirewallFqdnTagListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client AzureFirewallFqdnTagsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client AzureFirewallFqdnTagsClient) ListAllResponder(resp *http.Response) (result AzureFirewallFqdnTagListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client AzureFirewallFqdnTagsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
AzureFirewallIPConfiguration IP configuration of an Azure Firewall.
type AzureFirewallIPConfiguration struct { // AzureFirewallIPConfigurationPropertiesFormat - Properties of the azure firewall IP configuration. *AzureFirewallIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (afic AzureFirewallIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallIPConfiguration.
func (afic *AzureFirewallIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewallIPConfiguration struct.
AzureFirewallIPConfigurationPropertiesFormat properties of IP configuration of an Azure Firewall.
type AzureFirewallIPConfigurationPropertiesFormat struct { // PrivateIPAddress - READ-ONLY; The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // Subnet - Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the Azure firewall IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (aficpf AzureFirewallIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallIPConfigurationPropertiesFormat.
AzureFirewallIPGroups ipGroups associated with azure firewall.
type AzureFirewallIPGroups struct { // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // ChangeNumber - READ-ONLY; The iteration number. ChangeNumber *string `json:"changeNumber,omitempty"` }
func (afig AzureFirewallIPGroups) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallIPGroups.
AzureFirewallListResult response for ListAzureFirewalls API service call.
type AzureFirewallListResult struct { autorest.Response `json:"-"` // Value - List of Azure Firewalls in a resource group. Value *[]AzureFirewall `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (aflr AzureFirewallListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AzureFirewallListResultIterator provides access to a complete listing of AzureFirewall values.
type AzureFirewallListResultIterator struct {
// contains filtered or unexported fields
}
func NewAzureFirewallListResultIterator(page AzureFirewallListResultPage) AzureFirewallListResultIterator
Creates a new instance of the AzureFirewallListResultIterator type.
func (iter *AzureFirewallListResultIterator) 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 *AzureFirewallListResultIterator) 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 AzureFirewallListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AzureFirewallListResultIterator) Response() AzureFirewallListResult
Response returns the raw server response from the last page request.
func (iter AzureFirewallListResultIterator) Value() AzureFirewall
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AzureFirewallListResultPage contains a page of AzureFirewall values.
type AzureFirewallListResultPage struct {
// contains filtered or unexported fields
}
func NewAzureFirewallListResultPage(cur AzureFirewallListResult, getNextPage func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error)) AzureFirewallListResultPage
Creates a new instance of the AzureFirewallListResultPage type.
func (page *AzureFirewallListResultPage) 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 *AzureFirewallListResultPage) 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 AzureFirewallListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AzureFirewallListResultPage) Response() AzureFirewallListResult
Response returns the raw server response from the last page request.
func (page AzureFirewallListResultPage) Values() []AzureFirewall
Values returns the slice of values for the current page or nil if there are no values.
AzureFirewallNatRCAction azureFirewall NAT Rule Collection Action.
type AzureFirewallNatRCAction struct { // Type - The type of action. Possible values include: 'AzureFirewallNatRCActionTypeSnat', 'AzureFirewallNatRCActionTypeDnat' Type AzureFirewallNatRCActionType `json:"type,omitempty"` }
AzureFirewallNatRCActionType enumerates the values for azure firewall nat rc action type.
type AzureFirewallNatRCActionType string
const ( // AzureFirewallNatRCActionTypeDnat ... AzureFirewallNatRCActionTypeDnat AzureFirewallNatRCActionType = "Dnat" // AzureFirewallNatRCActionTypeSnat ... AzureFirewallNatRCActionTypeSnat AzureFirewallNatRCActionType = "Snat" )
func PossibleAzureFirewallNatRCActionTypeValues() []AzureFirewallNatRCActionType
PossibleAzureFirewallNatRCActionTypeValues returns an array of possible values for the AzureFirewallNatRCActionType const type.
AzureFirewallNatRule properties of a NAT rule.
type AzureFirewallNatRule struct { // Name - Name of the NAT rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // DestinationPorts - List of destination ports. DestinationPorts *[]string `json:"destinationPorts,omitempty"` // Protocols - Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. Protocols *[]AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"` // TranslatedAddress - The translated address for this NAT rule. TranslatedAddress *string `json:"translatedAddress,omitempty"` // TranslatedPort - The translated port for this NAT rule. TranslatedPort *string `json:"translatedPort,omitempty"` // TranslatedFqdn - The translated FQDN for this NAT rule. TranslatedFqdn *string `json:"translatedFqdn,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` }
AzureFirewallNatRuleCollection NAT rule collection resource.
type AzureFirewallNatRuleCollection struct { // AzureFirewallNatRuleCollectionProperties - Properties of the azure firewall NAT rule collection. *AzureFirewallNatRuleCollectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (afnrc AzureFirewallNatRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallNatRuleCollection.
func (afnrc *AzureFirewallNatRuleCollection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewallNatRuleCollection struct.
AzureFirewallNatRuleCollectionProperties properties of the NAT rule collection.
type AzureFirewallNatRuleCollectionProperties struct { // Priority - Priority of the NAT rule collection resource. Priority *int32 `json:"priority,omitempty"` // Action - The action type of a NAT rule collection. Action *AzureFirewallNatRCAction `json:"action,omitempty"` // Rules - Collection of rules used by a NAT rule collection. Rules *[]AzureFirewallNatRule `json:"rules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the NAT rule collection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (afnrcp AzureFirewallNatRuleCollectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallNatRuleCollectionProperties.
AzureFirewallNetworkRule properties of the network rule.
type AzureFirewallNetworkRule struct { // Name - Name of the network rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // Protocols - Array of AzureFirewallNetworkRuleProtocols. Protocols *[]AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"` // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // DestinationPorts - List of destination ports. DestinationPorts *[]string `json:"destinationPorts,omitempty"` // DestinationFqdns - List of destination FQDNs. DestinationFqdns *[]string `json:"destinationFqdns,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` // DestinationIPGroups - List of destination IpGroups for this rule. DestinationIPGroups *[]string `json:"destinationIpGroups,omitempty"` }
AzureFirewallNetworkRuleCollection network rule collection resource.
type AzureFirewallNetworkRuleCollection struct { // AzureFirewallNetworkRuleCollectionPropertiesFormat - Properties of the azure firewall network rule collection. *AzureFirewallNetworkRuleCollectionPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (afnrc AzureFirewallNetworkRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallNetworkRuleCollection.
func (afnrc *AzureFirewallNetworkRuleCollection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureFirewallNetworkRuleCollection struct.
AzureFirewallNetworkRuleCollectionPropertiesFormat properties of the network rule collection.
type AzureFirewallNetworkRuleCollectionPropertiesFormat struct { // Priority - Priority of the network rule collection resource. Priority *int32 `json:"priority,omitempty"` // Action - The action type of a rule collection. Action *AzureFirewallRCAction `json:"action,omitempty"` // Rules - Collection of rules used by a network rule collection. Rules *[]AzureFirewallNetworkRule `json:"rules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network rule collection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (afnrcpf AzureFirewallNetworkRuleCollectionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallNetworkRuleCollectionPropertiesFormat.
AzureFirewallNetworkRuleProtocol enumerates the values for azure firewall network rule protocol.
type AzureFirewallNetworkRuleProtocol string
const ( // AzureFirewallNetworkRuleProtocolAny ... AzureFirewallNetworkRuleProtocolAny AzureFirewallNetworkRuleProtocol = "Any" // AzureFirewallNetworkRuleProtocolICMP ... AzureFirewallNetworkRuleProtocolICMP AzureFirewallNetworkRuleProtocol = "ICMP" // AzureFirewallNetworkRuleProtocolTCP ... AzureFirewallNetworkRuleProtocolTCP AzureFirewallNetworkRuleProtocol = "TCP" // AzureFirewallNetworkRuleProtocolUDP ... AzureFirewallNetworkRuleProtocolUDP AzureFirewallNetworkRuleProtocol = "UDP" )
func PossibleAzureFirewallNetworkRuleProtocolValues() []AzureFirewallNetworkRuleProtocol
PossibleAzureFirewallNetworkRuleProtocolValues returns an array of possible values for the AzureFirewallNetworkRuleProtocol const type.
AzureFirewallPropertiesFormat properties of the Azure Firewall.
type AzureFirewallPropertiesFormat struct { // ApplicationRuleCollections - Collection of application rule collections used by Azure Firewall. ApplicationRuleCollections *[]AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"` // NatRuleCollections - Collection of NAT rule collections used by Azure Firewall. NatRuleCollections *[]AzureFirewallNatRuleCollection `json:"natRuleCollections,omitempty"` // NetworkRuleCollections - Collection of network rule collections used by Azure Firewall. NetworkRuleCollections *[]AzureFirewallNetworkRuleCollection `json:"networkRuleCollections,omitempty"` // IPConfigurations - IP configuration of the Azure Firewall resource. IPConfigurations *[]AzureFirewallIPConfiguration `json:"ipConfigurations,omitempty"` // ManagementIPConfiguration - IP configuration of the Azure Firewall used for management traffic. ManagementIPConfiguration *AzureFirewallIPConfiguration `json:"managementIpConfiguration,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the Azure firewall resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ThreatIntelMode - The operation mode for Threat Intelligence. Possible values include: 'AzureFirewallThreatIntelModeAlert', 'AzureFirewallThreatIntelModeDeny', 'AzureFirewallThreatIntelModeOff' ThreatIntelMode AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` // VirtualHub - The virtualHub to which the firewall belongs. VirtualHub *SubResource `json:"virtualHub,omitempty"` // FirewallPolicy - The firewallPolicy associated with this azure firewall. FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` // HubIPAddresses - IP addresses associated with AzureFirewall. HubIPAddresses *HubIPAddresses `json:"hubIPAddresses,omitempty"` // IPGroups - READ-ONLY; IpGroups associated with AzureFirewall. IPGroups *[]AzureFirewallIPGroups `json:"ipGroups,omitempty"` // Sku - The Azure Firewall Resource SKU. Sku *AzureFirewallSku `json:"sku,omitempty"` // AdditionalProperties - The additional properties used to further config this azure firewall. AdditionalProperties map[string]*string `json:"additionalProperties"` }
func (afpf AzureFirewallPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureFirewallPropertiesFormat.
AzureFirewallPublicIPAddress public IP Address associated with azure firewall.
type AzureFirewallPublicIPAddress struct { // Address - Public IP Address value. Address *string `json:"address,omitempty"` }
AzureFirewallRCAction properties of the AzureFirewallRCAction.
type AzureFirewallRCAction struct { // Type - The type of action. Possible values include: 'AzureFirewallRCActionTypeAllow', 'AzureFirewallRCActionTypeDeny' Type AzureFirewallRCActionType `json:"type,omitempty"` }
AzureFirewallRCActionType enumerates the values for azure firewall rc action type.
type AzureFirewallRCActionType string
const ( // AzureFirewallRCActionTypeAllow ... AzureFirewallRCActionTypeAllow AzureFirewallRCActionType = "Allow" // AzureFirewallRCActionTypeDeny ... AzureFirewallRCActionTypeDeny AzureFirewallRCActionType = "Deny" )
func PossibleAzureFirewallRCActionTypeValues() []AzureFirewallRCActionType
PossibleAzureFirewallRCActionTypeValues returns an array of possible values for the AzureFirewallRCActionType const type.
AzureFirewallSku SKU of an Azure Firewall.
type AzureFirewallSku struct { // Name - Name of an Azure Firewall SKU. Possible values include: 'AzureFirewallSkuNameAZFWVNet', 'AzureFirewallSkuNameAZFWHub' Name AzureFirewallSkuName `json:"name,omitempty"` // Tier - Tier of an Azure Firewall. Possible values include: 'AzureFirewallSkuTierStandard', 'AzureFirewallSkuTierPremium', 'AzureFirewallSkuTierBasic' Tier AzureFirewallSkuTier `json:"tier,omitempty"` }
AzureFirewallSkuName enumerates the values for azure firewall sku name.
type AzureFirewallSkuName string
const ( // AzureFirewallSkuNameAZFWHub ... AzureFirewallSkuNameAZFWHub AzureFirewallSkuName = "AZFW_Hub" // AzureFirewallSkuNameAZFWVNet ... AzureFirewallSkuNameAZFWVNet AzureFirewallSkuName = "AZFW_VNet" )
func PossibleAzureFirewallSkuNameValues() []AzureFirewallSkuName
PossibleAzureFirewallSkuNameValues returns an array of possible values for the AzureFirewallSkuName const type.
AzureFirewallSkuTier enumerates the values for azure firewall sku tier.
type AzureFirewallSkuTier string
const ( // AzureFirewallSkuTierBasic ... AzureFirewallSkuTierBasic AzureFirewallSkuTier = "Basic" // AzureFirewallSkuTierPremium ... AzureFirewallSkuTierPremium AzureFirewallSkuTier = "Premium" // AzureFirewallSkuTierStandard ... AzureFirewallSkuTierStandard AzureFirewallSkuTier = "Standard" )
func PossibleAzureFirewallSkuTierValues() []AzureFirewallSkuTier
PossibleAzureFirewallSkuTierValues returns an array of possible values for the AzureFirewallSkuTier const type.
AzureFirewallThreatIntelMode enumerates the values for azure firewall threat intel mode.
type AzureFirewallThreatIntelMode string
const ( // AzureFirewallThreatIntelModeAlert ... AzureFirewallThreatIntelModeAlert AzureFirewallThreatIntelMode = "Alert" // AzureFirewallThreatIntelModeDeny ... AzureFirewallThreatIntelModeDeny AzureFirewallThreatIntelMode = "Deny" // AzureFirewallThreatIntelModeOff ... AzureFirewallThreatIntelModeOff AzureFirewallThreatIntelMode = "Off" )
func PossibleAzureFirewallThreatIntelModeValues() []AzureFirewallThreatIntelMode
PossibleAzureFirewallThreatIntelModeValues returns an array of possible values for the AzureFirewallThreatIntelMode const type.
AzureFirewallsClient is the network Client
type AzureFirewallsClient struct { BaseClient }
func NewAzureFirewallsClient(subscriptionID string) AzureFirewallsClient
NewAzureFirewallsClient creates an instance of the AzureFirewallsClient client.
func NewAzureFirewallsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallsClient
NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AzureFirewallsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (result AzureFirewallsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall. parameters - parameters supplied to the create or update Azure Firewall operation.
func (client AzureFirewallsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client AzureFirewallsClient) CreateOrUpdateResponder(resp *http.Response) (result AzureFirewall, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client AzureFirewallsClient) CreateOrUpdateSender(req *http.Request) (future AzureFirewallsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client AzureFirewallsClient) Delete(ctx context.Context, resourceGroupName string, azureFirewallName string) (result AzureFirewallsDeleteFuture, err error)
Delete deletes the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall.
func (client AzureFirewallsClient) DeletePreparer(ctx context.Context, resourceGroupName string, azureFirewallName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AzureFirewallsClient) 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 AzureFirewallsClient) DeleteSender(req *http.Request) (future AzureFirewallsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client AzureFirewallsClient) Get(ctx context.Context, resourceGroupName string, azureFirewallName string) (result AzureFirewall, err error)
Get gets the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall.
func (client AzureFirewallsClient) GetPreparer(ctx context.Context, resourceGroupName string, azureFirewallName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client AzureFirewallsClient) GetResponder(resp *http.Response) (result AzureFirewall, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client AzureFirewallsClient) 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 AzureFirewallsClient) List(ctx context.Context, resourceGroupName string) (result AzureFirewallListResultPage, err error)
List lists all Azure Firewalls in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client AzureFirewallsClient) ListAll(ctx context.Context) (result AzureFirewallListResultPage, err error)
ListAll gets all the Azure Firewalls in a subscription.
func (client AzureFirewallsClient) ListAllComplete(ctx context.Context) (result AzureFirewallListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client AzureFirewallsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client AzureFirewallsClient) ListAllResponder(resp *http.Response) (result AzureFirewallListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client AzureFirewallsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client AzureFirewallsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AzureFirewallListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AzureFirewallsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client AzureFirewallsClient) ListResponder(resp *http.Response) (result AzureFirewallListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AzureFirewallsClient) 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.
func (client AzureFirewallsClient) UpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters TagsObject) (result AzureFirewallsUpdateTagsFuture, err error)
UpdateTags updates tags of an Azure Firewall resource. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall. parameters - parameters supplied to update azure firewall tags.
func (client AzureFirewallsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client AzureFirewallsClient) UpdateTagsResponder(resp *http.Response) (result AzureFirewall, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client AzureFirewallsClient) UpdateTagsSender(req *http.Request) (future AzureFirewallsUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
AzureFirewallsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AzureFirewallsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AzureFirewallsClient) (AzureFirewall, error) }
func (future *AzureFirewallsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AzureFirewallsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AzureFirewallsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AzureFirewallsClient) (autorest.Response, error) }
func (future *AzureFirewallsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AzureFirewallsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AzureFirewallsUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AzureFirewallsClient) (AzureFirewall, error) }
func (future *AzureFirewallsUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AzureReachabilityReport azure reachability report details.
type AzureReachabilityReport struct { autorest.Response `json:"-"` // AggregationLevel - The aggregation level of Azure reachability report. Can be Country, State or City. AggregationLevel *string `json:"aggregationLevel,omitempty"` // ProviderLocation - Parameters that define a geographic location. ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"` // ReachabilityReport - List of Azure reachability report items. ReachabilityReport *[]AzureReachabilityReportItem `json:"reachabilityReport,omitempty"` }
AzureReachabilityReportItem azure reachability report details for a given provider location.
type AzureReachabilityReportItem struct { // Provider - The Internet service provider. Provider *string `json:"provider,omitempty"` // AzureLocation - The Azure region. AzureLocation *string `json:"azureLocation,omitempty"` // Latencies - List of latency details for each of the time series. Latencies *[]AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"` }
AzureReachabilityReportLatencyInfo details on latency for a time series.
type AzureReachabilityReportLatencyInfo struct { // TimeStamp - The time stamp. TimeStamp *date.Time `json:"timeStamp,omitempty"` // Score - The relative latency score between 1 and 100, higher values indicating a faster connection. Score *int32 `json:"score,omitempty"` }
AzureReachabilityReportLocation parameters that define a geographic location.
type AzureReachabilityReportLocation struct { // Country - The name of the country. Country *string `json:"country,omitempty"` // State - The name of the state. State *string `json:"state,omitempty"` // City - The name of the city or town. City *string `json:"city,omitempty"` }
AzureReachabilityReportParameters geographic and time constraints for Azure reachability report.
type AzureReachabilityReportParameters struct { // ProviderLocation - Parameters that define a geographic location. ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"` // Providers - List of Internet service providers. Providers *[]string `json:"providers,omitempty"` // AzureLocations - Optional Azure regions to scope the query to. AzureLocations *[]string `json:"azureLocations,omitempty"` // StartTime - The start time for the Azure reachability report. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - The end time for the Azure reachability report. EndTime *date.Time `json:"endTime,omitempty"` }
AzureWebCategory azure Web Category Resource.
type AzureWebCategory struct { autorest.Response `json:"-"` // AzureWebCategoryPropertiesFormat - Properties of the Azure Web Category. *AzureWebCategoryPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` }
func (awc AzureWebCategory) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureWebCategory.
func (awc *AzureWebCategory) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureWebCategory struct.
AzureWebCategoryListResult response for ListAzureWebCategories API service call.
type AzureWebCategoryListResult struct { autorest.Response `json:"-"` // Value - List of Azure Web Categories for a given Subscription. Value *[]AzureWebCategory `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (awclr AzureWebCategoryListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AzureWebCategoryListResultIterator provides access to a complete listing of AzureWebCategory values.
type AzureWebCategoryListResultIterator struct {
// contains filtered or unexported fields
}
func NewAzureWebCategoryListResultIterator(page AzureWebCategoryListResultPage) AzureWebCategoryListResultIterator
Creates a new instance of the AzureWebCategoryListResultIterator type.
func (iter *AzureWebCategoryListResultIterator) 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 *AzureWebCategoryListResultIterator) 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 AzureWebCategoryListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AzureWebCategoryListResultIterator) Response() AzureWebCategoryListResult
Response returns the raw server response from the last page request.
func (iter AzureWebCategoryListResultIterator) Value() AzureWebCategory
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AzureWebCategoryListResultPage contains a page of AzureWebCategory values.
type AzureWebCategoryListResultPage struct {
// contains filtered or unexported fields
}
func NewAzureWebCategoryListResultPage(cur AzureWebCategoryListResult, getNextPage func(context.Context, AzureWebCategoryListResult) (AzureWebCategoryListResult, error)) AzureWebCategoryListResultPage
Creates a new instance of the AzureWebCategoryListResultPage type.
func (page *AzureWebCategoryListResultPage) 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 *AzureWebCategoryListResultPage) 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 AzureWebCategoryListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AzureWebCategoryListResultPage) Response() AzureWebCategoryListResult
Response returns the raw server response from the last page request.
func (page AzureWebCategoryListResultPage) Values() []AzureWebCategory
Values returns the slice of values for the current page or nil if there are no values.
AzureWebCategoryPropertiesFormat azure Web Category Properties.
type AzureWebCategoryPropertiesFormat struct { // Group - READ-ONLY; The name of the group that the category belongs to. Group *string `json:"group,omitempty"` }
func (awcpf AzureWebCategoryPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureWebCategoryPropertiesFormat.
BGPCommunity contains bgp community information offered in Service Community resources.
type BGPCommunity struct { // ServiceSupportedRegion - The region which the service support. e.g. For O365, region is Global. ServiceSupportedRegion *string `json:"serviceSupportedRegion,omitempty"` // CommunityName - The name of the bgp community. e.g. Skype. CommunityName *string `json:"communityName,omitempty"` // CommunityValue - The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. CommunityValue *string `json:"communityValue,omitempty"` // CommunityPrefixes - The prefixes that the bgp community contains. CommunityPrefixes *[]string `json:"communityPrefixes,omitempty"` // IsAuthorizedToUse - Customer is authorized to use bgp community or not. IsAuthorizedToUse *bool `json:"isAuthorizedToUse,omitempty"` // ServiceGroup - The service group of the bgp community contains. ServiceGroup *string `json:"serviceGroup,omitempty"` }
BackendAddressInboundNatRulePortMappings the response for a QueryInboundNatRulePortMapping API.
type BackendAddressInboundNatRulePortMappings struct { autorest.Response `json:"-"` // InboundNatRulePortMappings - Collection of inbound NAT rule port mappings. InboundNatRulePortMappings *[]InboundNatRulePortMapping `json:"inboundNatRulePortMappings,omitempty"` }
BackendAddressPool pool of backend IP addresses.
type BackendAddressPool struct { autorest.Response `json:"-"` // BackendAddressPoolPropertiesFormat - Properties of load balancer backend address pool. *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (bap BackendAddressPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackendAddressPool.
func (bap *BackendAddressPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackendAddressPool struct.
BackendAddressPoolPropertiesFormat properties of the backend address pool.
type BackendAddressPoolPropertiesFormat struct { // Location - The location of the backend address pool. Location *string `json:"location,omitempty"` // TunnelInterfaces - An array of gateway load balancer tunnel interfaces. TunnelInterfaces *[]GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` // LoadBalancerBackendAddresses - An array of backend addresses. LoadBalancerBackendAddresses *[]LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` // BackendIPConfigurations - READ-ONLY; An array of references to IP addresses defined in network interfaces. BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` // LoadBalancingRules - READ-ONLY; An array of references to load balancing rules that use this backend address pool. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` // OutboundRule - READ-ONLY; A reference to an outbound rule that uses this backend address pool. OutboundRule *SubResource `json:"outboundRule,omitempty"` // OutboundRules - READ-ONLY; An array of references to outbound rules that use this backend address pool. OutboundRules *[]SubResource `json:"outboundRules,omitempty"` // InboundNatRules - READ-ONLY; An array of references to inbound NAT rules that use this backend address pool. InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the backend address pool resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // DrainPeriodInSeconds - Amount of seconds Load Balancer waits for before sending RESET to client and backend address. DrainPeriodInSeconds *int32 `json:"drainPeriodInSeconds,omitempty"` }
func (bappf BackendAddressPoolPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackendAddressPoolPropertiesFormat.
BaseClient is the base client for Network.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)
CheckDNSNameAvailability checks whether a domain name in the cloudapp.azure.com zone is available for use. Parameters: location - the location of the domain name. domainNameLabel - the domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
func (client BaseClient) CheckDNSNameAvailabilityPreparer(ctx context.Context, location string, domainNameLabel string) (*http.Request, error)
CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.
func (client BaseClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error)
CheckDNSNameAvailabilityResponder handles the response to the CheckDNSNameAvailability request. The method always closes the http.Response Body.
func (client BaseClient) CheckDNSNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckDNSNameAvailabilitySender sends the CheckDNSNameAvailability request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) DeleteBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result DeleteBastionShareableLinkFuture, err error)
DeleteBastionShareableLink deletes the Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.
func (client BaseClient) DeleteBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)
DeleteBastionShareableLinkPreparer prepares the DeleteBastionShareableLink request.
func (client BaseClient) DeleteBastionShareableLinkResponder(resp *http.Response) (result autorest.Response, err error)
DeleteBastionShareableLinkResponder handles the response to the DeleteBastionShareableLink request. The method always closes the http.Response Body.
func (client BaseClient) DeleteBastionShareableLinkSender(req *http.Request) (future DeleteBastionShareableLinkFuture, err error)
DeleteBastionShareableLinkSender sends the DeleteBastionShareableLink request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) DisconnectActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultPage, err error)
DisconnectActiveSessions returns the list of currently active sessions on the Bastion. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. sessionIds - the list of sessionids to disconnect.
func (client BaseClient) DisconnectActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultIterator, err error)
DisconnectActiveSessionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) DisconnectActiveSessionsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (*http.Request, error)
DisconnectActiveSessionsPreparer prepares the DisconnectActiveSessions request.
func (client BaseClient) DisconnectActiveSessionsResponder(resp *http.Response) (result BastionSessionDeleteResult, err error)
DisconnectActiveSessionsResponder handles the response to the DisconnectActiveSessions request. The method always closes the http.Response Body.
func (client BaseClient) DisconnectActiveSessionsSender(req *http.Request) (*http.Response, error)
DisconnectActiveSessionsSender sends the DisconnectActiveSessions request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) Generatevirtualwanvpnserverconfigurationvpnprofile(ctx context.Context, resourceGroupName string, virtualWANName string, vpnClientParams VirtualWanVpnProfileParameters) (result GeneratevirtualwanvpnserverconfigurationvpnprofileFuture, err error)
Generatevirtualwanvpnserverconfigurationvpnprofile generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN whose associated VpnServerConfigurations is needed. vpnClientParams - parameters supplied to the generate VirtualWan VPN profile generation operation.
func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer(ctx context.Context, resourceGroupName string, virtualWANName string, vpnClientParams VirtualWanVpnProfileParameters) (*http.Request, error)
GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer prepares the Generatevirtualwanvpnserverconfigurationvpnprofile request.
func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileResponder(resp *http.Response) (result VpnProfileResponse, err error)
GeneratevirtualwanvpnserverconfigurationvpnprofileResponder handles the response to the Generatevirtualwanvpnserverconfigurationvpnprofile request. The method always closes the http.Response Body.
func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileSender(req *http.Request) (future GeneratevirtualwanvpnserverconfigurationvpnprofileFuture, err error)
GeneratevirtualwanvpnserverconfigurationvpnprofileSender sends the Generatevirtualwanvpnserverconfigurationvpnprofile request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) GetActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsFuture, err error)
GetActiveSessions returns the list of currently active sessions on the Bastion. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.
func (client BaseClient) GetActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsAllFuture, err error)
GetActiveSessionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) GetActiveSessionsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error)
GetActiveSessionsPreparer prepares the GetActiveSessions request.
func (client BaseClient) GetActiveSessionsResponder(resp *http.Response) (result BastionActiveSessionListResultPage, err error)
GetActiveSessionsResponder handles the response to the GetActiveSessions request. The method always closes the http.Response Body.
func (client BaseClient) GetActiveSessionsSender(req *http.Request) (future GetActiveSessionsFuture, err error)
GetActiveSessionsSender sends the GetActiveSessions request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) GetBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultPage, err error)
GetBastionShareableLink return the Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.
func (client BaseClient) GetBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultIterator, err error)
GetBastionShareableLinkComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) GetBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)
GetBastionShareableLinkPreparer prepares the GetBastionShareableLink request.
func (client BaseClient) GetBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResult, err error)
GetBastionShareableLinkResponder handles the response to the GetBastionShareableLink request. The method always closes the http.Response Body.
func (client BaseClient) GetBastionShareableLinkSender(req *http.Request) (*http.Response, error)
GetBastionShareableLinkSender sends the GetBastionShareableLink request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) PutBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkFuture, err error)
PutBastionShareableLink creates a Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.
func (client BaseClient) PutBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkAllFuture, err error)
PutBastionShareableLinkComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) PutBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)
PutBastionShareableLinkPreparer prepares the PutBastionShareableLink request.
func (client BaseClient) PutBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResultPage, err error)
PutBastionShareableLinkResponder handles the response to the PutBastionShareableLink request. The method always closes the http.Response Body.
func (client BaseClient) PutBastionShareableLinkSender(req *http.Request) (future PutBastionShareableLinkFuture, err error)
PutBastionShareableLinkSender sends the PutBastionShareableLink request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) SupportedSecurityProviders(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWanSecurityProviders, err error)
SupportedSecurityProviders gives the supported security providers for the virtual wan. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN for which supported security providers are needed.
func (client BaseClient) SupportedSecurityProvidersPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)
SupportedSecurityProvidersPreparer prepares the SupportedSecurityProviders request.
func (client BaseClient) SupportedSecurityProvidersResponder(resp *http.Response) (result VirtualWanSecurityProviders, err error)
SupportedSecurityProvidersResponder handles the response to the SupportedSecurityProviders request. The method always closes the http.Response Body.
func (client BaseClient) SupportedSecurityProvidersSender(req *http.Request) (*http.Response, error)
SupportedSecurityProvidersSender sends the SupportedSecurityProviders request. The method will close the http.Response Body if it receives an error.
BasicFirewallPolicyRule properties of a rule.
type BasicFirewallPolicyRule interface { AsApplicationRule() (*ApplicationRule, bool) AsNatRule() (*NatRule, bool) AsRule() (*Rule, bool) AsFirewallPolicyRule() (*FirewallPolicyRule, bool) }
BasicFirewallPolicyRuleCollection properties of the rule collection.
type BasicFirewallPolicyRuleCollection interface { AsFirewallPolicyNatRuleCollection() (*FirewallPolicyNatRuleCollection, bool) AsFirewallPolicyFilterRuleCollection() (*FirewallPolicyFilterRuleCollection, bool) AsFirewallPolicyRuleCollection() (*FirewallPolicyRuleCollection, bool) }
BastionActiveSession the session detail for a target.
type BastionActiveSession struct { // SessionID - READ-ONLY; A unique id for the session. SessionID *string `json:"sessionId,omitempty"` // StartTime - READ-ONLY; The time when the session started. StartTime interface{} `json:"startTime,omitempty"` // TargetSubscriptionID - READ-ONLY; The subscription id for the target virtual machine. TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty"` // ResourceType - READ-ONLY; The type of the resource. ResourceType *string `json:"resourceType,omitempty"` // TargetHostName - READ-ONLY; The host name of the target. TargetHostName *string `json:"targetHostName,omitempty"` // TargetResourceGroup - READ-ONLY; The resource group of the target. TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` // UserName - READ-ONLY; The user name who is active on this session. UserName *string `json:"userName,omitempty"` // TargetIPAddress - READ-ONLY; The IP Address of the target. TargetIPAddress *string `json:"targetIpAddress,omitempty"` // Protocol - READ-ONLY; The protocol used to connect to the target. Possible values include: 'BastionConnectProtocolSSH', 'BastionConnectProtocolRDP' Protocol BastionConnectProtocol `json:"protocol,omitempty"` // TargetResourceID - READ-ONLY; The resource id of the target. TargetResourceID *string `json:"targetResourceId,omitempty"` // SessionDurationInMins - READ-ONLY; Duration in mins the session has been active. SessionDurationInMins *float64 `json:"sessionDurationInMins,omitempty"` }
func (bas BastionActiveSession) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionActiveSession.
BastionActiveSessionListResult response for GetActiveSessions.
type BastionActiveSessionListResult struct { autorest.Response `json:"-"` // Value - List of active sessions on the bastion. Value *[]BastionActiveSession `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (baslr BastionActiveSessionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
BastionActiveSessionListResultIterator provides access to a complete listing of BastionActiveSession values.
type BastionActiveSessionListResultIterator struct {
// contains filtered or unexported fields
}
func NewBastionActiveSessionListResultIterator(page BastionActiveSessionListResultPage) BastionActiveSessionListResultIterator
Creates a new instance of the BastionActiveSessionListResultIterator type.
func (iter *BastionActiveSessionListResultIterator) 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 *BastionActiveSessionListResultIterator) 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 BastionActiveSessionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BastionActiveSessionListResultIterator) Response() BastionActiveSessionListResult
Response returns the raw server response from the last page request.
func (iter BastionActiveSessionListResultIterator) Value() BastionActiveSession
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BastionActiveSessionListResultPage contains a page of BastionActiveSession values.
type BastionActiveSessionListResultPage struct {
// contains filtered or unexported fields
}
func NewBastionActiveSessionListResultPage(cur BastionActiveSessionListResult, getNextPage func(context.Context, BastionActiveSessionListResult) (BastionActiveSessionListResult, error)) BastionActiveSessionListResultPage
Creates a new instance of the BastionActiveSessionListResultPage type.
func (page *BastionActiveSessionListResultPage) 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 *BastionActiveSessionListResultPage) 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 BastionActiveSessionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BastionActiveSessionListResultPage) Response() BastionActiveSessionListResult
Response returns the raw server response from the last page request.
func (page BastionActiveSessionListResultPage) Values() []BastionActiveSession
Values returns the slice of values for the current page or nil if there are no values.
BastionConnectProtocol enumerates the values for bastion connect protocol.
type BastionConnectProtocol string
const ( // BastionConnectProtocolRDP ... BastionConnectProtocolRDP BastionConnectProtocol = "RDP" // BastionConnectProtocolSSH ... BastionConnectProtocolSSH BastionConnectProtocol = "SSH" )
func PossibleBastionConnectProtocolValues() []BastionConnectProtocol
PossibleBastionConnectProtocolValues returns an array of possible values for the BastionConnectProtocol const type.
BastionHost bastion Host resource.
type BastionHost struct { autorest.Response `json:"-"` // BastionHostPropertiesFormat - Represents the bastion host resource. *BastionHostPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Sku - The sku of this Bastion Host. Sku *Sku `json:"sku,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (bh BastionHost) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionHost.
func (bh *BastionHost) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BastionHost struct.
BastionHostIPConfiguration IP configuration of an Bastion Host.
type BastionHostIPConfiguration struct { // BastionHostIPConfigurationPropertiesFormat - Represents the ip configuration associated with the resource. *BastionHostIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Ip configuration type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (bhic BastionHostIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionHostIPConfiguration.
func (bhic *BastionHostIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BastionHostIPConfiguration struct.
BastionHostIPConfigurationPropertiesFormat properties of IP configuration of an Bastion Host.
type BastionHostIPConfigurationPropertiesFormat struct { // Subnet - Reference of the subnet resource. Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - Reference of the PublicIP resource. PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the bastion host IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateIPAllocationMethod - Private IP allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` }
func (bhicpf BastionHostIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionHostIPConfigurationPropertiesFormat.
BastionHostListResult response for ListBastionHosts API service call.
type BastionHostListResult struct { autorest.Response `json:"-"` // Value - List of Bastion Hosts in a resource group. Value *[]BastionHost `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (bhlr BastionHostListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
BastionHostListResultIterator provides access to a complete listing of BastionHost values.
type BastionHostListResultIterator struct {
// contains filtered or unexported fields
}
func NewBastionHostListResultIterator(page BastionHostListResultPage) BastionHostListResultIterator
Creates a new instance of the BastionHostListResultIterator type.
func (iter *BastionHostListResultIterator) 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 *BastionHostListResultIterator) 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 BastionHostListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BastionHostListResultIterator) Response() BastionHostListResult
Response returns the raw server response from the last page request.
func (iter BastionHostListResultIterator) Value() BastionHost
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BastionHostListResultPage contains a page of BastionHost values.
type BastionHostListResultPage struct {
// contains filtered or unexported fields
}
func NewBastionHostListResultPage(cur BastionHostListResult, getNextPage func(context.Context, BastionHostListResult) (BastionHostListResult, error)) BastionHostListResultPage
Creates a new instance of the BastionHostListResultPage type.
func (page *BastionHostListResultPage) 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 *BastionHostListResultPage) 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 BastionHostListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BastionHostListResultPage) Response() BastionHostListResult
Response returns the raw server response from the last page request.
func (page BastionHostListResultPage) Values() []BastionHost
Values returns the slice of values for the current page or nil if there are no values.
BastionHostPropertiesFormat properties of the Bastion Host.
type BastionHostPropertiesFormat struct { // IPConfigurations - IP configuration of the Bastion Host resource. IPConfigurations *[]BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` // DNSName - FQDN for the endpoint on which bastion host is accessible. DNSName *string `json:"dnsName,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the bastion host resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ScaleUnits - The scale units for the Bastion Host resource. ScaleUnits *int32 `json:"scaleUnits,omitempty"` // DisableCopyPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource. DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` // EnableFileCopy - Enable/Disable File Copy feature of the Bastion Host resource. EnableFileCopy *bool `json:"enableFileCopy,omitempty"` // EnableIPConnect - Enable/Disable IP Connect feature of the Bastion Host resource. EnableIPConnect *bool `json:"enableIpConnect,omitempty"` // EnableShareableLink - Enable/Disable Shareable Link of the Bastion Host resource. EnableShareableLink *bool `json:"enableShareableLink,omitempty"` // EnableTunneling - Enable/Disable Tunneling feature of the Bastion Host resource. EnableTunneling *bool `json:"enableTunneling,omitempty"` }
func (bhpf BastionHostPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionHostPropertiesFormat.
BastionHostSkuName enumerates the values for bastion host sku name.
type BastionHostSkuName string
const ( // BastionHostSkuNameBasic ... BastionHostSkuNameBasic BastionHostSkuName = "Basic" // BastionHostSkuNameStandard ... BastionHostSkuNameStandard BastionHostSkuName = "Standard" )
func PossibleBastionHostSkuNameValues() []BastionHostSkuName
PossibleBastionHostSkuNameValues returns an array of possible values for the BastionHostSkuName const type.
BastionHostsClient is the network Client
type BastionHostsClient struct { BaseClient }
func NewBastionHostsClient(subscriptionID string) BastionHostsClient
NewBastionHostsClient creates an instance of the BastionHostsClient client.
func NewBastionHostsClientWithBaseURI(baseURI string, subscriptionID string) BastionHostsClient
NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client BastionHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, bastionHostName string, parameters BastionHost) (result BastionHostsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. parameters - parameters supplied to the create or update Bastion Host operation.
func (client BastionHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, bastionHostName string, parameters BastionHost) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client BastionHostsClient) CreateOrUpdateResponder(resp *http.Response) (result BastionHost, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client BastionHostsClient) CreateOrUpdateSender(req *http.Request) (future BastionHostsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client BastionHostsClient) Delete(ctx context.Context, resourceGroupName string, bastionHostName string) (result BastionHostsDeleteFuture, err error)
Delete deletes the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.
func (client BastionHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client BastionHostsClient) 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 BastionHostsClient) DeleteSender(req *http.Request) (future BastionHostsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client BastionHostsClient) Get(ctx context.Context, resourceGroupName string, bastionHostName string) (result BastionHost, err error)
Get gets the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.
func (client BastionHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client BastionHostsClient) GetResponder(resp *http.Response) (result BastionHost, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client BastionHostsClient) 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 BastionHostsClient) List(ctx context.Context) (result BastionHostListResultPage, err error)
List lists all Bastion Hosts in a subscription.
func (client BastionHostsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BastionHostListResultPage, err error)
ListByResourceGroup lists all Bastion Hosts in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client BastionHostsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BastionHostListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client BastionHostsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client BastionHostsClient) ListByResourceGroupResponder(resp *http.Response) (result BastionHostListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client BastionHostsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client BastionHostsClient) ListComplete(ctx context.Context) (result BastionHostListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client BastionHostsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client BastionHostsClient) ListResponder(resp *http.Response) (result BastionHostListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client BastionHostsClient) 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.
func (client BastionHostsClient) UpdateTags(ctx context.Context, resourceGroupName string, bastionHostName string, parameters TagsObject) (result BastionHostsUpdateTagsFuture, err error)
UpdateTags updates Tags for BastionHost resource Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. parameters - parameters supplied to update BastionHost tags.
func (client BastionHostsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client BastionHostsClient) UpdateTagsResponder(resp *http.Response) (result BastionHost, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client BastionHostsClient) UpdateTagsSender(req *http.Request) (future BastionHostsUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
BastionHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type BastionHostsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BastionHostsClient) (BastionHost, error) }
func (future *BastionHostsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
BastionHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type BastionHostsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BastionHostsClient) (autorest.Response, error) }
func (future *BastionHostsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
BastionHostsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type BastionHostsUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BastionHostsClient) (BastionHost, error) }
func (future *BastionHostsUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
BastionSessionDeleteResult response for DisconnectActiveSessions.
type BastionSessionDeleteResult struct { autorest.Response `json:"-"` // Value - List of sessions with their corresponding state. Value *[]BastionSessionState `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (bsdr BastionSessionDeleteResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
BastionSessionDeleteResultIterator provides access to a complete listing of BastionSessionState values.
type BastionSessionDeleteResultIterator struct {
// contains filtered or unexported fields
}
func NewBastionSessionDeleteResultIterator(page BastionSessionDeleteResultPage) BastionSessionDeleteResultIterator
Creates a new instance of the BastionSessionDeleteResultIterator type.
func (iter *BastionSessionDeleteResultIterator) 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 *BastionSessionDeleteResultIterator) 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 BastionSessionDeleteResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BastionSessionDeleteResultIterator) Response() BastionSessionDeleteResult
Response returns the raw server response from the last page request.
func (iter BastionSessionDeleteResultIterator) Value() BastionSessionState
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BastionSessionDeleteResultPage contains a page of BastionSessionState values.
type BastionSessionDeleteResultPage struct {
// contains filtered or unexported fields
}
func NewBastionSessionDeleteResultPage(cur BastionSessionDeleteResult, getNextPage func(context.Context, BastionSessionDeleteResult) (BastionSessionDeleteResult, error)) BastionSessionDeleteResultPage
Creates a new instance of the BastionSessionDeleteResultPage type.
func (page *BastionSessionDeleteResultPage) 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 *BastionSessionDeleteResultPage) 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 BastionSessionDeleteResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BastionSessionDeleteResultPage) Response() BastionSessionDeleteResult
Response returns the raw server response from the last page request.
func (page BastionSessionDeleteResultPage) Values() []BastionSessionState
Values returns the slice of values for the current page or nil if there are no values.
BastionSessionState the session state detail for a target.
type BastionSessionState struct { // SessionID - READ-ONLY; A unique id for the session. SessionID *string `json:"sessionId,omitempty"` // Message - READ-ONLY; Used for extra information. Message *string `json:"message,omitempty"` // State - READ-ONLY; The state of the session. Disconnected/Failed/NotFound. State *string `json:"state,omitempty"` }
func (bss BastionSessionState) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionSessionState.
BastionShareableLink bastion Shareable Link.
type BastionShareableLink struct { // VM - Reference of the virtual machine resource. VM *VM `json:"vm,omitempty"` // Bsl - READ-ONLY; The unique Bastion Shareable Link to the virtual machine. Bsl *string `json:"bsl,omitempty"` // CreatedAt - READ-ONLY; The time when the link was created. CreatedAt *string `json:"createdAt,omitempty"` // Message - READ-ONLY; Optional field indicating the warning or error message related to the vm in case of partial failure. Message *string `json:"message,omitempty"` }
func (bsl BastionShareableLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BastionShareableLink.
BastionShareableLinkListRequest post request for all the Bastion Shareable Link endpoints.
type BastionShareableLinkListRequest struct { // Vms - List of VM references. Vms *[]BastionShareableLink `json:"vms,omitempty"` }
BastionShareableLinkListResult response for all the Bastion Shareable Link endpoints.
type BastionShareableLinkListResult struct { autorest.Response `json:"-"` // Value - List of Bastion Shareable Links for the request. Value *[]BastionShareableLink `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (bsllr BastionShareableLinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
BastionShareableLinkListResultIterator provides access to a complete listing of BastionShareableLink values.
type BastionShareableLinkListResultIterator struct {
// contains filtered or unexported fields
}
func NewBastionShareableLinkListResultIterator(page BastionShareableLinkListResultPage) BastionShareableLinkListResultIterator
Creates a new instance of the BastionShareableLinkListResultIterator type.
func (iter *BastionShareableLinkListResultIterator) 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 *BastionShareableLinkListResultIterator) 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 BastionShareableLinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BastionShareableLinkListResultIterator) Response() BastionShareableLinkListResult
Response returns the raw server response from the last page request.
func (iter BastionShareableLinkListResultIterator) Value() BastionShareableLink
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BastionShareableLinkListResultPage contains a page of BastionShareableLink values.
type BastionShareableLinkListResultPage struct {
// contains filtered or unexported fields
}
func NewBastionShareableLinkListResultPage(cur BastionShareableLinkListResult, getNextPage func(context.Context, BastionShareableLinkListResult) (BastionShareableLinkListResult, error)) BastionShareableLinkListResultPage
Creates a new instance of the BastionShareableLinkListResultPage type.
func (page *BastionShareableLinkListResultPage) 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 *BastionShareableLinkListResultPage) 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 BastionShareableLinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BastionShareableLinkListResultPage) Response() BastionShareableLinkListResult
Response returns the raw server response from the last page request.
func (page BastionShareableLinkListResultPage) Values() []BastionShareableLink
Values returns the slice of values for the current page or nil if there are no values.
BgpConnection virtual Appliance Site resource.
type BgpConnection struct { autorest.Response `json:"-"` // BgpConnectionProperties - The properties of the Bgp connections. *BgpConnectionProperties `json:"properties,omitempty"` // Name - Name of the connection. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Connection type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (bc BgpConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BgpConnection.
func (bc *BgpConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BgpConnection struct.
BgpConnectionProperties properties of the bgp connection.
type BgpConnectionProperties struct { // PeerAsn - Peer ASN. PeerAsn *int64 `json:"peerAsn,omitempty"` // PeerIP - Peer IP. PeerIP *string `json:"peerIp,omitempty"` // HubVirtualNetworkConnection - The reference to the HubVirtualNetworkConnection resource. HubVirtualNetworkConnection *SubResource `json:"hubVirtualNetworkConnection,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ConnectionState - READ-ONLY; The current state of the VirtualHub to Peer. Possible values include: 'HubBgpConnectionStatusUnknown', 'HubBgpConnectionStatusConnecting', 'HubBgpConnectionStatusConnected', 'HubBgpConnectionStatusNotConnected' ConnectionState HubBgpConnectionStatus `json:"connectionState,omitempty"` }
func (bcp BgpConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BgpConnectionProperties.
BgpPeerState enumerates the values for bgp peer state.
type BgpPeerState string
const ( // BgpPeerStateConnected ... BgpPeerStateConnected BgpPeerState = "Connected" // BgpPeerStateConnecting ... BgpPeerStateConnecting BgpPeerState = "Connecting" // BgpPeerStateIdle ... BgpPeerStateIdle BgpPeerState = "Idle" // BgpPeerStateStopped ... BgpPeerStateStopped BgpPeerState = "Stopped" // BgpPeerStateUnknown ... BgpPeerStateUnknown BgpPeerState = "Unknown" )
func PossibleBgpPeerStateValues() []BgpPeerState
PossibleBgpPeerStateValues returns an array of possible values for the BgpPeerState const type.
BgpPeerStatus BGP peer status details.
type BgpPeerStatus struct { // LocalAddress - READ-ONLY; The virtual network gateway's local address. LocalAddress *string `json:"localAddress,omitempty"` // Neighbor - READ-ONLY; The remote BGP peer. Neighbor *string `json:"neighbor,omitempty"` // Asn - READ-ONLY; The autonomous system number of the remote BGP peer. Asn *int64 `json:"asn,omitempty"` // State - READ-ONLY; The BGP peer state. Possible values include: 'BgpPeerStateUnknown', 'BgpPeerStateStopped', 'BgpPeerStateIdle', 'BgpPeerStateConnecting', 'BgpPeerStateConnected' State BgpPeerState `json:"state,omitempty"` // ConnectedDuration - READ-ONLY; For how long the peering has been up. ConnectedDuration *string `json:"connectedDuration,omitempty"` // RoutesReceived - READ-ONLY; The number of routes learned from this peer. RoutesReceived *int64 `json:"routesReceived,omitempty"` // MessagesSent - READ-ONLY; The number of BGP messages sent. MessagesSent *int64 `json:"messagesSent,omitempty"` // MessagesReceived - READ-ONLY; The number of BGP messages received. MessagesReceived *int64 `json:"messagesReceived,omitempty"` }
func (bps BgpPeerStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BgpPeerStatus.
BgpPeerStatusListResult response for list BGP peer status API service call.
type BgpPeerStatusListResult struct { autorest.Response `json:"-"` // Value - List of BGP peers. Value *[]BgpPeerStatus `json:"value,omitempty"` }
BgpServiceCommunitiesClient is the network Client
type BgpServiceCommunitiesClient struct { BaseClient }
func NewBgpServiceCommunitiesClient(subscriptionID string) BgpServiceCommunitiesClient
NewBgpServiceCommunitiesClient creates an instance of the BgpServiceCommunitiesClient client.
func NewBgpServiceCommunitiesClientWithBaseURI(baseURI string, subscriptionID string) BgpServiceCommunitiesClient
NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client BgpServiceCommunitiesClient) List(ctx context.Context) (result BgpServiceCommunityListResultPage, err error)
List gets all the available bgp service communities.
func (client BgpServiceCommunitiesClient) ListComplete(ctx context.Context) (result BgpServiceCommunityListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client BgpServiceCommunitiesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client BgpServiceCommunitiesClient) ListResponder(resp *http.Response) (result BgpServiceCommunityListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client BgpServiceCommunitiesClient) 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.
BgpServiceCommunity service Community Properties.
type BgpServiceCommunity struct { // BgpServiceCommunityPropertiesFormat - Properties of the BGP service community. *BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (bsc BgpServiceCommunity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BgpServiceCommunity.
func (bsc *BgpServiceCommunity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BgpServiceCommunity struct.
BgpServiceCommunityListResult response for the ListServiceCommunity API service call.
type BgpServiceCommunityListResult struct { autorest.Response `json:"-"` // Value - A list of service community resources. Value *[]BgpServiceCommunity `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (bsclr BgpServiceCommunityListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
BgpServiceCommunityListResultIterator provides access to a complete listing of BgpServiceCommunity values.
type BgpServiceCommunityListResultIterator struct {
// contains filtered or unexported fields
}
func NewBgpServiceCommunityListResultIterator(page BgpServiceCommunityListResultPage) BgpServiceCommunityListResultIterator
Creates a new instance of the BgpServiceCommunityListResultIterator type.
func (iter *BgpServiceCommunityListResultIterator) 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 *BgpServiceCommunityListResultIterator) 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 BgpServiceCommunityListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BgpServiceCommunityListResultIterator) Response() BgpServiceCommunityListResult
Response returns the raw server response from the last page request.
func (iter BgpServiceCommunityListResultIterator) Value() BgpServiceCommunity
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BgpServiceCommunityListResultPage contains a page of BgpServiceCommunity values.
type BgpServiceCommunityListResultPage struct {
// contains filtered or unexported fields
}
func NewBgpServiceCommunityListResultPage(cur BgpServiceCommunityListResult, getNextPage func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error)) BgpServiceCommunityListResultPage
Creates a new instance of the BgpServiceCommunityListResultPage type.
func (page *BgpServiceCommunityListResultPage) 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 *BgpServiceCommunityListResultPage) 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 BgpServiceCommunityListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BgpServiceCommunityListResultPage) Response() BgpServiceCommunityListResult
Response returns the raw server response from the last page request.
func (page BgpServiceCommunityListResultPage) Values() []BgpServiceCommunity
Values returns the slice of values for the current page or nil if there are no values.
BgpServiceCommunityPropertiesFormat properties of Service Community.
type BgpServiceCommunityPropertiesFormat struct { // ServiceName - The name of the bgp community. e.g. Skype. ServiceName *string `json:"serviceName,omitempty"` // BgpCommunities - A list of bgp communities. BgpCommunities *[]BGPCommunity `json:"bgpCommunities,omitempty"` }
BgpSettings BGP settings details.
type BgpSettings struct { // Asn - The BGP speaker's ASN. Asn *int64 `json:"asn,omitempty"` // BgpPeeringAddress - The BGP peering address and BGP identifier of this BGP speaker. BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` // PeerWeight - The weight added to routes learned from this BGP speaker. PeerWeight *int32 `json:"peerWeight,omitempty"` // BgpPeeringAddresses - BGP peering address with IP configuration ID for virtual network gateway. BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"` }
BreakOutCategoryPolicies network Virtual Appliance Sku Properties.
type BreakOutCategoryPolicies struct { // Allow - Flag to control breakout of o365 allow category. Allow *bool `json:"allow,omitempty"` // Optimize - Flag to control breakout of o365 optimize category. Optimize *bool `json:"optimize,omitempty"` // Default - Flag to control breakout of o365 default category. Default *bool `json:"default,omitempty"` }
CheckPrivateLinkServiceVisibilityRequest request body of the CheckPrivateLinkServiceVisibility API service call.
type CheckPrivateLinkServiceVisibilityRequest struct { // PrivateLinkServiceAlias - The alias of the private link service. PrivateLinkServiceAlias *string `json:"privateLinkServiceAlias,omitempty"` }
CircuitConnectionStatus enumerates the values for circuit connection status.
type CircuitConnectionStatus string
const ( // CircuitConnectionStatusConnected ... CircuitConnectionStatusConnected CircuitConnectionStatus = "Connected" // CircuitConnectionStatusConnecting ... CircuitConnectionStatusConnecting CircuitConnectionStatus = "Connecting" // CircuitConnectionStatusDisconnected ... CircuitConnectionStatusDisconnected CircuitConnectionStatus = "Disconnected" )
func PossibleCircuitConnectionStatusValues() []CircuitConnectionStatus
PossibleCircuitConnectionStatusValues returns an array of possible values for the CircuitConnectionStatus const type.
CloudError an error response from the service.
type CloudError struct { // Error - Cloud error body. Error *CloudErrorBody `json:"error,omitempty"` }
CloudErrorBody an error response from the service.
type CloudErrorBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // Target - The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` // Details - A list of additional details about the error. Details *[]CloudErrorBody `json:"details,omitempty"` }
CommissionedState enumerates the values for commissioned state.
type CommissionedState string
const ( // CommissionedStateCommissioned ... CommissionedStateCommissioned CommissionedState = "Commissioned" // CommissionedStateCommissioning ... CommissionedStateCommissioning CommissionedState = "Commissioning" // CommissionedStateDecommissioning ... CommissionedStateDecommissioning CommissionedState = "Decommissioning" // CommissionedStateDeprovisioning ... CommissionedStateDeprovisioning CommissionedState = "Deprovisioning" // CommissionedStateProvisioned ... CommissionedStateProvisioned CommissionedState = "Provisioned" // CommissionedStateProvisioning ... CommissionedStateProvisioning CommissionedState = "Provisioning" )
func PossibleCommissionedStateValues() []CommissionedState
PossibleCommissionedStateValues returns an array of possible values for the CommissionedState const type.
ConfigurationDiagnosticParameters parameters to get network configuration diagnostic.
type ConfigurationDiagnosticParameters struct { // TargetResourceID - The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway. TargetResourceID *string `json:"targetResourceId,omitempty"` // VerbosityLevel - Verbosity level. Possible values include: 'VerbosityLevelNormal', 'VerbosityLevelMinimum', 'VerbosityLevelFull' VerbosityLevel VerbosityLevel `json:"verbosityLevel,omitempty"` // Profiles - List of network configuration diagnostic profiles. Profiles *[]ConfigurationDiagnosticProfile `json:"profiles,omitempty"` }
ConfigurationDiagnosticProfile parameters to compare with network configuration.
type ConfigurationDiagnosticProfile struct { // Direction - The direction of the traffic. Possible values include: 'DirectionInbound', 'DirectionOutbound' Direction Direction `json:"direction,omitempty"` // Protocol - Protocol to be verified on. Accepted values are '*', TCP, UDP. Protocol *string `json:"protocol,omitempty"` // Source - Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. Source *string `json:"source,omitempty"` // Destination - Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag. Destination *string `json:"destination,omitempty"` // DestinationPort - Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535). DestinationPort *string `json:"destinationPort,omitempty"` }
ConfigurationDiagnosticResponse results of network configuration diagnostic on the target resource.
type ConfigurationDiagnosticResponse struct { autorest.Response `json:"-"` // Results - READ-ONLY; List of network configuration diagnostic results. Results *[]ConfigurationDiagnosticResult `json:"results,omitempty"` }
func (cdr ConfigurationDiagnosticResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationDiagnosticResponse.
ConfigurationDiagnosticResult network configuration diagnostic result corresponded to provided traffic query.
type ConfigurationDiagnosticResult struct { // Profile - Network configuration diagnostic profile. Profile *ConfigurationDiagnosticProfile `json:"profile,omitempty"` // NetworkSecurityGroupResult - Network security group result. NetworkSecurityGroupResult *SecurityGroupResult `json:"networkSecurityGroupResult,omitempty"` }
ConfigurationPolicyGroupsClient is the network Client
type ConfigurationPolicyGroupsClient struct { BaseClient }
func NewConfigurationPolicyGroupsClient(subscriptionID string) ConfigurationPolicyGroupsClient
NewConfigurationPolicyGroupsClient creates an instance of the ConfigurationPolicyGroupsClient client.
func NewConfigurationPolicyGroupsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationPolicyGroupsClient
NewConfigurationPolicyGroupsClientWithBaseURI creates an instance of the ConfigurationPolicyGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ConfigurationPolicyGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string, vpnServerConfigurationPolicyGroupParameters VpnServerConfigurationPolicyGroup) (result ConfigurationPolicyGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. Parameters: resourceGroupName - the resource group name of the ConfigurationPolicyGroup. vpnServerConfigurationName - the name of the VpnServerConfiguration. configurationPolicyGroupName - the name of the ConfigurationPolicyGroup. vpnServerConfigurationPolicyGroupParameters - parameters supplied to create or update a VpnServerConfiguration PolicyGroup.
func (client ConfigurationPolicyGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string, vpnServerConfigurationPolicyGroupParameters VpnServerConfigurationPolicyGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ConfigurationPolicyGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result VpnServerConfigurationPolicyGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ConfigurationPolicyGroupsClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationPolicyGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ConfigurationPolicyGroupsClient) Delete(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string) (result ConfigurationPolicyGroupsDeleteFuture, err error)
Delete deletes a ConfigurationPolicyGroup. Parameters: resourceGroupName - the resource group name of the ConfigurationPolicyGroup. vpnServerConfigurationName - the name of the VpnServerConfiguration. configurationPolicyGroupName - the name of the ConfigurationPolicyGroup.
func (client ConfigurationPolicyGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ConfigurationPolicyGroupsClient) 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 ConfigurationPolicyGroupsClient) DeleteSender(req *http.Request) (future ConfigurationPolicyGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ConfigurationPolicyGroupsClient) Get(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string) (result VpnServerConfigurationPolicyGroup, err error)
Get retrieves the details of a ConfigurationPolicyGroup. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration. configurationPolicyGroupName - the name of the ConfigurationPolicyGroup being retrieved.
func (client ConfigurationPolicyGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, configurationPolicyGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ConfigurationPolicyGroupsClient) GetResponder(resp *http.Response) (result VpnServerConfigurationPolicyGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ConfigurationPolicyGroupsClient) 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 ConfigurationPolicyGroupsClient) ListByVpnServerConfiguration(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result ListVpnServerConfigurationPolicyGroupsResultPage, err error)
ListByVpnServerConfiguration lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration.
func (client ConfigurationPolicyGroupsClient) ListByVpnServerConfigurationComplete(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result ListVpnServerConfigurationPolicyGroupsResultIterator, err error)
ListByVpnServerConfigurationComplete enumerates all values, automatically crossing page boundaries as required.
func (client ConfigurationPolicyGroupsClient) ListByVpnServerConfigurationPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (*http.Request, error)
ListByVpnServerConfigurationPreparer prepares the ListByVpnServerConfiguration request.
func (client ConfigurationPolicyGroupsClient) ListByVpnServerConfigurationResponder(resp *http.Response) (result ListVpnServerConfigurationPolicyGroupsResult, err error)
ListByVpnServerConfigurationResponder handles the response to the ListByVpnServerConfiguration request. The method always closes the http.Response Body.
func (client ConfigurationPolicyGroupsClient) ListByVpnServerConfigurationSender(req *http.Request) (*http.Response, error)
ListByVpnServerConfigurationSender sends the ListByVpnServerConfiguration request. The method will close the http.Response Body if it receives an error.
ConfigurationPolicyGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConfigurationPolicyGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConfigurationPolicyGroupsClient) (VpnServerConfigurationPolicyGroup, error) }
func (future *ConfigurationPolicyGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConfigurationPolicyGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConfigurationPolicyGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConfigurationPolicyGroupsClient) (autorest.Response, error) }
func (future *ConfigurationPolicyGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionMonitor parameters that define the operation to create a connection monitor.
type ConnectionMonitor struct { // Location - Connection monitor location. Location *string `json:"location,omitempty"` // Tags - Connection monitor tags. Tags map[string]*string `json:"tags"` // ConnectionMonitorParameters - Properties of the connection monitor. *ConnectionMonitorParameters `json:"properties,omitempty"` }
func (cm ConnectionMonitor) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionMonitor.
func (cm *ConnectionMonitor) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionMonitor struct.
ConnectionMonitorDestination describes the destination of connection monitor.
type ConnectionMonitorDestination struct { // ResourceID - The ID of the resource used as the destination by connection monitor. ResourceID *string `json:"resourceId,omitempty"` // Address - Address of the connection monitor destination (IP or domain name). Address *string `json:"address,omitempty"` // Port - The destination port used by connection monitor. Port *int32 `json:"port,omitempty"` }
ConnectionMonitorEndpoint describes the connection monitor endpoint.
type ConnectionMonitorEndpoint struct { // Name - The name of the connection monitor endpoint. Name *string `json:"name,omitempty"` // Type - The endpoint type. Possible values include: 'EndpointTypeAzureVM', 'EndpointTypeAzureVNet', 'EndpointTypeAzureSubnet', 'EndpointTypeExternalAddress', 'EndpointTypeMMAWorkspaceMachine', 'EndpointTypeMMAWorkspaceNetwork' Type EndpointType `json:"type,omitempty"` // ResourceID - Resource ID of the connection monitor endpoint. ResourceID *string `json:"resourceId,omitempty"` // Address - Address of the connection monitor endpoint (IP or domain name). Address *string `json:"address,omitempty"` // Filter - Filter for sub-items within the endpoint. Filter *ConnectionMonitorEndpointFilter `json:"filter,omitempty"` // Scope - Endpoint scope. Scope *ConnectionMonitorEndpointScope `json:"scope,omitempty"` // CoverageLevel - Test coverage for the endpoint. Possible values include: 'CoverageLevelDefault', 'CoverageLevelLow', 'CoverageLevelBelowAverage', 'CoverageLevelAverage', 'CoverageLevelAboveAverage', 'CoverageLevelFull' CoverageLevel CoverageLevel `json:"coverageLevel,omitempty"` }
ConnectionMonitorEndpointFilter describes the connection monitor endpoint filter.
type ConnectionMonitorEndpointFilter struct { // Type - The behavior of the endpoint filter. Currently only 'Include' is supported. Possible values include: 'ConnectionMonitorEndpointFilterTypeInclude' Type ConnectionMonitorEndpointFilterType `json:"type,omitempty"` // Items - List of items in the filter. Items *[]ConnectionMonitorEndpointFilterItem `json:"items,omitempty"` }
ConnectionMonitorEndpointFilterItem describes the connection monitor endpoint filter item.
type ConnectionMonitorEndpointFilterItem struct { // Type - The type of item included in the filter. Currently only 'AgentAddress' is supported. Possible values include: 'ConnectionMonitorEndpointFilterItemTypeAgentAddress' Type ConnectionMonitorEndpointFilterItemType `json:"type,omitempty"` // Address - The address of the filter item. Address *string `json:"address,omitempty"` }
ConnectionMonitorEndpointFilterItemType enumerates the values for connection monitor endpoint filter item type.
type ConnectionMonitorEndpointFilterItemType string
const ( // ConnectionMonitorEndpointFilterItemTypeAgentAddress ... ConnectionMonitorEndpointFilterItemTypeAgentAddress ConnectionMonitorEndpointFilterItemType = "AgentAddress" )
func PossibleConnectionMonitorEndpointFilterItemTypeValues() []ConnectionMonitorEndpointFilterItemType
PossibleConnectionMonitorEndpointFilterItemTypeValues returns an array of possible values for the ConnectionMonitorEndpointFilterItemType const type.
ConnectionMonitorEndpointFilterType enumerates the values for connection monitor endpoint filter type.
type ConnectionMonitorEndpointFilterType string
const ( // ConnectionMonitorEndpointFilterTypeInclude ... ConnectionMonitorEndpointFilterTypeInclude ConnectionMonitorEndpointFilterType = "Include" )
func PossibleConnectionMonitorEndpointFilterTypeValues() []ConnectionMonitorEndpointFilterType
PossibleConnectionMonitorEndpointFilterTypeValues returns an array of possible values for the ConnectionMonitorEndpointFilterType const type.
ConnectionMonitorEndpointScope describes the connection monitor endpoint scope.
type ConnectionMonitorEndpointScope struct { // Include - List of items which needs to be included to the endpoint scope. Include *[]ConnectionMonitorEndpointScopeItem `json:"include,omitempty"` // Exclude - List of items which needs to be excluded from the endpoint scope. Exclude *[]ConnectionMonitorEndpointScopeItem `json:"exclude,omitempty"` }
ConnectionMonitorEndpointScopeItem describes the connection monitor endpoint scope item.
type ConnectionMonitorEndpointScopeItem struct { // Address - The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address. Address *string `json:"address,omitempty"` }
ConnectionMonitorHTTPConfiguration describes the HTTP configuration.
type ConnectionMonitorHTTPConfiguration struct { // Port - The port to connect to. Port *int32 `json:"port,omitempty"` // Method - The HTTP method to use. Possible values include: 'HTTPConfigurationMethodGet', 'HTTPConfigurationMethodPost' Method HTTPConfigurationMethod `json:"method,omitempty"` // Path - The path component of the URI. For instance, "/dir1/dir2". Path *string `json:"path,omitempty"` // RequestHeaders - The HTTP headers to transmit with the request. RequestHeaders *[]HTTPHeader `json:"requestHeaders,omitempty"` // ValidStatusCodeRanges - HTTP status codes to consider successful. For instance, "2xx,301-304,418". ValidStatusCodeRanges *[]string `json:"validStatusCodeRanges,omitempty"` // PreferHTTPS - Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. PreferHTTPS *bool `json:"preferHTTPS,omitempty"` }
ConnectionMonitorIcmpConfiguration describes the ICMP configuration.
type ConnectionMonitorIcmpConfiguration struct { // DisableTraceRoute - Value indicating whether path evaluation with trace route should be disabled. DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"` }
ConnectionMonitorListResult list of connection monitors.
type ConnectionMonitorListResult struct { autorest.Response `json:"-"` // Value - Information about connection monitors. Value *[]ConnectionMonitorResult `json:"value,omitempty"` }
ConnectionMonitorOutput describes a connection monitor output destination.
type ConnectionMonitorOutput struct { // Type - Connection monitor output destination type. Currently, only "Workspace" is supported. Possible values include: 'OutputTypeWorkspace' Type OutputType `json:"type,omitempty"` // WorkspaceSettings - Describes the settings for producing output into a log analytics workspace. WorkspaceSettings *ConnectionMonitorWorkspaceSettings `json:"workspaceSettings,omitempty"` }
ConnectionMonitorParameters parameters that define the operation to create a connection monitor.
type ConnectionMonitorParameters struct { // Source - Describes the source of connection monitor. Source *ConnectionMonitorSource `json:"source,omitempty"` // Destination - Describes the destination of connection monitor. Destination *ConnectionMonitorDestination `json:"destination,omitempty"` // AutoStart - Determines if the connection monitor will start automatically once created. AutoStart *bool `json:"autoStart,omitempty"` // MonitoringIntervalInSeconds - Monitoring interval in seconds. MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"` // Endpoints - List of connection monitor endpoints. Endpoints *[]ConnectionMonitorEndpoint `json:"endpoints,omitempty"` // TestConfigurations - List of connection monitor test configurations. TestConfigurations *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"` // TestGroups - List of connection monitor test groups. TestGroups *[]ConnectionMonitorTestGroup `json:"testGroups,omitempty"` // Outputs - List of connection monitor outputs. Outputs *[]ConnectionMonitorOutput `json:"outputs,omitempty"` // Notes - Optional notes to be associated with the connection monitor. Notes *string `json:"notes,omitempty"` }
ConnectionMonitorQueryResult list of connection states snapshots.
type ConnectionMonitorQueryResult struct { autorest.Response `json:"-"` // SourceStatus - Status of connection monitor source. Possible values include: 'ConnectionMonitorSourceStatusUnknown', 'ConnectionMonitorSourceStatusActive', 'ConnectionMonitorSourceStatusInactive' SourceStatus ConnectionMonitorSourceStatus `json:"sourceStatus,omitempty"` // States - Information about connection states. States *[]ConnectionStateSnapshot `json:"states,omitempty"` }
ConnectionMonitorResult information about the connection monitor.
type ConnectionMonitorResult struct { autorest.Response `json:"-"` // Name - READ-ONLY; Name of the connection monitor. Name *string `json:"name,omitempty"` // ID - READ-ONLY; ID of the connection monitor. ID *string `json:"id,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Connection monitor type. Type *string `json:"type,omitempty"` // Location - Connection monitor location. Location *string `json:"location,omitempty"` // Tags - Connection monitor tags. Tags map[string]*string `json:"tags"` // ConnectionMonitorResultProperties - Properties of the connection monitor result. *ConnectionMonitorResultProperties `json:"properties,omitempty"` }
func (cmr ConnectionMonitorResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionMonitorResult.
func (cmr *ConnectionMonitorResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionMonitorResult struct.
ConnectionMonitorResultProperties describes the properties of a connection monitor.
type ConnectionMonitorResultProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the connection monitor. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // StartTime - READ-ONLY; The date and time when the connection monitor was started. StartTime *date.Time `json:"startTime,omitempty"` // MonitoringStatus - READ-ONLY; The monitoring status of the connection monitor. MonitoringStatus *string `json:"monitoringStatus,omitempty"` // ConnectionMonitorType - READ-ONLY; Type of connection monitor. Possible values include: 'ConnectionMonitorTypeMultiEndpoint', 'ConnectionMonitorTypeSingleSourceDestination' ConnectionMonitorType ConnectionMonitorType `json:"connectionMonitorType,omitempty"` // Source - Describes the source of connection monitor. Source *ConnectionMonitorSource `json:"source,omitempty"` // Destination - Describes the destination of connection monitor. Destination *ConnectionMonitorDestination `json:"destination,omitempty"` // AutoStart - Determines if the connection monitor will start automatically once created. AutoStart *bool `json:"autoStart,omitempty"` // MonitoringIntervalInSeconds - Monitoring interval in seconds. MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"` // Endpoints - List of connection monitor endpoints. Endpoints *[]ConnectionMonitorEndpoint `json:"endpoints,omitempty"` // TestConfigurations - List of connection monitor test configurations. TestConfigurations *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"` // TestGroups - List of connection monitor test groups. TestGroups *[]ConnectionMonitorTestGroup `json:"testGroups,omitempty"` // Outputs - List of connection monitor outputs. Outputs *[]ConnectionMonitorOutput `json:"outputs,omitempty"` // Notes - Optional notes to be associated with the connection monitor. Notes *string `json:"notes,omitempty"` }
func (cmrp ConnectionMonitorResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionMonitorResultProperties.
ConnectionMonitorSource describes the source of connection monitor.
type ConnectionMonitorSource struct { // ResourceID - The ID of the resource used as the source by connection monitor. ResourceID *string `json:"resourceId,omitempty"` // Port - The source port used by connection monitor. Port *int32 `json:"port,omitempty"` }
ConnectionMonitorSourceStatus enumerates the values for connection monitor source status.
type ConnectionMonitorSourceStatus string
const ( // ConnectionMonitorSourceStatusActive ... ConnectionMonitorSourceStatusActive ConnectionMonitorSourceStatus = "Active" // ConnectionMonitorSourceStatusInactive ... ConnectionMonitorSourceStatusInactive ConnectionMonitorSourceStatus = "Inactive" // ConnectionMonitorSourceStatusUnknown ... ConnectionMonitorSourceStatusUnknown ConnectionMonitorSourceStatus = "Unknown" )
func PossibleConnectionMonitorSourceStatusValues() []ConnectionMonitorSourceStatus
PossibleConnectionMonitorSourceStatusValues returns an array of possible values for the ConnectionMonitorSourceStatus const type.
ConnectionMonitorSuccessThreshold describes the threshold for declaring a test successful.
type ConnectionMonitorSuccessThreshold struct { // ChecksFailedPercent - The maximum percentage of failed checks permitted for a test to evaluate as successful. ChecksFailedPercent *int32 `json:"checksFailedPercent,omitempty"` // RoundTripTimeMs - The maximum round-trip time in milliseconds permitted for a test to evaluate as successful. RoundTripTimeMs *float64 `json:"roundTripTimeMs,omitempty"` }
ConnectionMonitorTCPConfiguration describes the TCP configuration.
type ConnectionMonitorTCPConfiguration struct { // Port - The port to connect to. Port *int32 `json:"port,omitempty"` // DisableTraceRoute - Value indicating whether path evaluation with trace route should be disabled. DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"` // DestinationPortBehavior - Destination port behavior. Possible values include: 'DestinationPortBehaviorNone', 'DestinationPortBehaviorListenIfAvailable' DestinationPortBehavior DestinationPortBehavior `json:"destinationPortBehavior,omitempty"` }
ConnectionMonitorTestConfiguration describes a connection monitor test configuration.
type ConnectionMonitorTestConfiguration struct { // Name - The name of the connection monitor test configuration. Name *string `json:"name,omitempty"` // TestFrequencySec - The frequency of test evaluation, in seconds. TestFrequencySec *int32 `json:"testFrequencySec,omitempty"` // Protocol - The protocol to use in test evaluation. Possible values include: 'ConnectionMonitorTestConfigurationProtocolTCP', 'ConnectionMonitorTestConfigurationProtocolHTTP', 'ConnectionMonitorTestConfigurationProtocolIcmp' Protocol ConnectionMonitorTestConfigurationProtocol `json:"protocol,omitempty"` // PreferredIPVersion - The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Possible values include: 'PreferredIPVersionIPv4', 'PreferredIPVersionIPv6' PreferredIPVersion PreferredIPVersion `json:"preferredIPVersion,omitempty"` // HTTPConfiguration - The parameters used to perform test evaluation over HTTP. HTTPConfiguration *ConnectionMonitorHTTPConfiguration `json:"httpConfiguration,omitempty"` // TCPConfiguration - The parameters used to perform test evaluation over TCP. TCPConfiguration *ConnectionMonitorTCPConfiguration `json:"tcpConfiguration,omitempty"` // IcmpConfiguration - The parameters used to perform test evaluation over ICMP. IcmpConfiguration *ConnectionMonitorIcmpConfiguration `json:"icmpConfiguration,omitempty"` // SuccessThreshold - The threshold for declaring a test successful. SuccessThreshold *ConnectionMonitorSuccessThreshold `json:"successThreshold,omitempty"` }
ConnectionMonitorTestConfigurationProtocol enumerates the values for connection monitor test configuration protocol.
type ConnectionMonitorTestConfigurationProtocol string
const ( // ConnectionMonitorTestConfigurationProtocolHTTP ... ConnectionMonitorTestConfigurationProtocolHTTP ConnectionMonitorTestConfigurationProtocol = "Http" // ConnectionMonitorTestConfigurationProtocolIcmp ... ConnectionMonitorTestConfigurationProtocolIcmp ConnectionMonitorTestConfigurationProtocol = "Icmp" // ConnectionMonitorTestConfigurationProtocolTCP ... ConnectionMonitorTestConfigurationProtocolTCP ConnectionMonitorTestConfigurationProtocol = "Tcp" )
func PossibleConnectionMonitorTestConfigurationProtocolValues() []ConnectionMonitorTestConfigurationProtocol
PossibleConnectionMonitorTestConfigurationProtocolValues returns an array of possible values for the ConnectionMonitorTestConfigurationProtocol const type.
ConnectionMonitorTestGroup describes the connection monitor test group.
type ConnectionMonitorTestGroup struct { // Name - The name of the connection monitor test group. Name *string `json:"name,omitempty"` // Disable - Value indicating whether test group is disabled. Disable *bool `json:"disable,omitempty"` // TestConfigurations - List of test configuration names. TestConfigurations *[]string `json:"testConfigurations,omitempty"` // Sources - List of source endpoint names. Sources *[]string `json:"sources,omitempty"` // Destinations - List of destination endpoint names. Destinations *[]string `json:"destinations,omitempty"` }
ConnectionMonitorType enumerates the values for connection monitor type.
type ConnectionMonitorType string
const ( // ConnectionMonitorTypeMultiEndpoint ... ConnectionMonitorTypeMultiEndpoint ConnectionMonitorType = "MultiEndpoint" // ConnectionMonitorTypeSingleSourceDestination ... ConnectionMonitorTypeSingleSourceDestination ConnectionMonitorType = "SingleSourceDestination" )
func PossibleConnectionMonitorTypeValues() []ConnectionMonitorType
PossibleConnectionMonitorTypeValues returns an array of possible values for the ConnectionMonitorType const type.
ConnectionMonitorWorkspaceSettings describes the settings for producing output into a log analytics workspace.
type ConnectionMonitorWorkspaceSettings struct { // WorkspaceResourceID - Log analytics workspace resource ID. WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` }
ConnectionMonitorsClient is the network Client
type ConnectionMonitorsClient struct { BaseClient }
func NewConnectionMonitorsClient(subscriptionID string) ConnectionMonitorsClient
NewConnectionMonitorsClient creates an instance of the ConnectionMonitorsClient client.
func NewConnectionMonitorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionMonitorsClient
NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ConnectionMonitorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor, migrate string) (result ConnectionMonitorsCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor. parameters - parameters that define the operation to create a connection monitor. migrate - value indicating whether connection monitor V1 should be migrated to V2 format.
func (client ConnectionMonitorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor, migrate string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ConnectionMonitorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionMonitorResult, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectionMonitorsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ConnectionMonitorsClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsDeleteFuture, err error)
Delete deletes the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.
func (client ConnectionMonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ConnectionMonitorsClient) 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 ConnectionMonitorsClient) DeleteSender(req *http.Request) (future ConnectionMonitorsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ConnectionMonitorsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorResult, err error)
Get gets a connection monitor by name. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.
func (client ConnectionMonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ConnectionMonitorsClient) GetResponder(resp *http.Response) (result ConnectionMonitorResult, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) 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 ConnectionMonitorsClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result ConnectionMonitorListResult, err error)
List lists all connection monitors for the specified Network Watcher. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource.
func (client ConnectionMonitorsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ConnectionMonitorsClient) ListResponder(resp *http.Response) (result ConnectionMonitorListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) 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.
func (client ConnectionMonitorsClient) Query(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsQueryFuture, err error)
Query query a snapshot of the most recent connection states. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name given to the connection monitor.
func (client ConnectionMonitorsClient) QueryPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)
QueryPreparer prepares the Query request.
func (client ConnectionMonitorsClient) QueryResponder(resp *http.Response) (result ConnectionMonitorQueryResult, err error)
QueryResponder handles the response to the Query request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) QuerySender(req *http.Request) (future ConnectionMonitorsQueryFuture, err error)
QuerySender sends the Query request. The method will close the http.Response Body if it receives an error.
func (client ConnectionMonitorsClient) Start(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStartFuture, err error)
Start starts the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.
func (client ConnectionMonitorsClient) StartPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (client ConnectionMonitorsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) StartSender(req *http.Request) (future ConnectionMonitorsStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (client ConnectionMonitorsClient) Stop(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStopFuture, err error)
Stop stops the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.
func (client ConnectionMonitorsClient) StopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (client ConnectionMonitorsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) StopSender(req *http.Request) (future ConnectionMonitorsStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (client ConnectionMonitorsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (result ConnectionMonitorResult, err error)
UpdateTags update tags of the specified connection monitor. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. connectionMonitorName - the name of the connection monitor. parameters - parameters supplied to update connection monitor tags.
func (client ConnectionMonitorsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ConnectionMonitorsClient) UpdateTagsResponder(resp *http.Response) (result ConnectionMonitorResult, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ConnectionMonitorsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ConnectionMonitorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConnectionMonitorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConnectionMonitorsClient) (ConnectionMonitorResult, error) }
func (future *ConnectionMonitorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionMonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConnectionMonitorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConnectionMonitorsClient) (autorest.Response, error) }
func (future *ConnectionMonitorsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionMonitorsQueryFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConnectionMonitorsQueryFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConnectionMonitorsClient) (ConnectionMonitorQueryResult, error) }
func (future *ConnectionMonitorsQueryFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionMonitorsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConnectionMonitorsStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConnectionMonitorsClient) (autorest.Response, error) }
func (future *ConnectionMonitorsStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionMonitorsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ConnectionMonitorsStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ConnectionMonitorsClient) (autorest.Response, error) }
func (future *ConnectionMonitorsStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ConnectionResetSharedKey the virtual network connection reset shared key.
type ConnectionResetSharedKey struct { autorest.Response `json:"-"` // KeyLength - The virtual network connection reset shared key length, should between 1 and 128. KeyLength *int32 `json:"keyLength,omitempty"` }
ConnectionSharedKey response for GetConnectionSharedKey API service call.
type ConnectionSharedKey struct { autorest.Response `json:"-"` // Value - The virtual network connection shared key value. Value *string `json:"value,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
ConnectionState enumerates the values for connection state.
type ConnectionState string
const ( // ConnectionStateReachable ... ConnectionStateReachable ConnectionState = "Reachable" // ConnectionStateUnknown ... ConnectionStateUnknown ConnectionState = "Unknown" // ConnectionStateUnreachable ... ConnectionStateUnreachable ConnectionState = "Unreachable" )
func PossibleConnectionStateValues() []ConnectionState
PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.
ConnectionStateSnapshot connection state snapshot.
type ConnectionStateSnapshot struct { // ConnectionState - The connection state. Possible values include: 'ConnectionStateReachable', 'ConnectionStateUnreachable', 'ConnectionStateUnknown' ConnectionState ConnectionState `json:"connectionState,omitempty"` // StartTime - The start time of the connection snapshot. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - The end time of the connection snapshot. EndTime *date.Time `json:"endTime,omitempty"` // EvaluationState - Connectivity analysis evaluation state. Possible values include: 'EvaluationStateNotStarted', 'EvaluationStateInProgress', 'EvaluationStateCompleted' EvaluationState EvaluationState `json:"evaluationState,omitempty"` // AvgLatencyInMs - Average latency in ms. AvgLatencyInMs *int64 `json:"avgLatencyInMs,omitempty"` // MinLatencyInMs - Minimum latency in ms. MinLatencyInMs *int64 `json:"minLatencyInMs,omitempty"` // MaxLatencyInMs - Maximum latency in ms. MaxLatencyInMs *int64 `json:"maxLatencyInMs,omitempty"` // ProbesSent - The number of sent probes. ProbesSent *int64 `json:"probesSent,omitempty"` // ProbesFailed - The number of failed probes. ProbesFailed *int64 `json:"probesFailed,omitempty"` // Hops - READ-ONLY; List of hops between the source and the destination. Hops *[]ConnectivityHop `json:"hops,omitempty"` }
func (CSS ConnectionStateSnapshot) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionStateSnapshot.
ConnectionStatus enumerates the values for connection status.
type ConnectionStatus string
const ( // ConnectionStatusConnected ... ConnectionStatusConnected ConnectionStatus = "Connected" // ConnectionStatusDegraded ... ConnectionStatusDegraded ConnectionStatus = "Degraded" // ConnectionStatusDisconnected ... ConnectionStatusDisconnected ConnectionStatus = "Disconnected" // ConnectionStatusUnknown ... ConnectionStatusUnknown ConnectionStatus = "Unknown" )
func PossibleConnectionStatusValues() []ConnectionStatus
PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.
ConnectivityDestination parameters that define destination of connection.
type ConnectivityDestination struct { // ResourceID - The ID of the resource to which a connection attempt will be made. ResourceID *string `json:"resourceId,omitempty"` // Address - The IP address or URI the resource to which a connection attempt will be made. Address *string `json:"address,omitempty"` // Port - Port on which check connectivity will be performed. Port *int32 `json:"port,omitempty"` }
ConnectivityHop information about a hop between the source and the destination.
type ConnectivityHop struct { // Type - READ-ONLY; The type of the hop. Type *string `json:"type,omitempty"` // ID - READ-ONLY; The ID of the hop. ID *string `json:"id,omitempty"` // Address - READ-ONLY; The IP address of the hop. Address *string `json:"address,omitempty"` // ResourceID - READ-ONLY; The ID of the resource corresponding to this hop. ResourceID *string `json:"resourceId,omitempty"` // NextHopIds - READ-ONLY; List of next hop identifiers. NextHopIds *[]string `json:"nextHopIds,omitempty"` // PreviousHopIds - READ-ONLY; List of previous hop identifiers. PreviousHopIds *[]string `json:"previousHopIds,omitempty"` // Links - READ-ONLY; List of hop links. Links *[]HopLink `json:"links,omitempty"` // PreviousLinks - READ-ONLY; List of previous hop links. PreviousLinks *[]HopLink `json:"previousLinks,omitempty"` // Issues - READ-ONLY; List of issues. Issues *[]ConnectivityIssue `json:"issues,omitempty"` }
func (ch ConnectivityHop) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectivityHop.
ConnectivityInformation information on the connectivity status.
type ConnectivityInformation struct { autorest.Response `json:"-"` // Hops - READ-ONLY; List of hops between the source and the destination. Hops *[]ConnectivityHop `json:"hops,omitempty"` // ConnectionStatus - READ-ONLY; The connection status. Possible values include: 'ConnectionStatusUnknown', 'ConnectionStatusConnected', 'ConnectionStatusDisconnected', 'ConnectionStatusDegraded' ConnectionStatus ConnectionStatus `json:"connectionStatus,omitempty"` // AvgLatencyInMs - READ-ONLY; Average latency in milliseconds. AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty"` // MinLatencyInMs - READ-ONLY; Minimum latency in milliseconds. MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty"` // MaxLatencyInMs - READ-ONLY; Maximum latency in milliseconds. MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty"` // ProbesSent - READ-ONLY; Total number of probes sent. ProbesSent *int32 `json:"probesSent,omitempty"` // ProbesFailed - READ-ONLY; Number of failed probes. ProbesFailed *int32 `json:"probesFailed,omitempty"` }
func (ci ConnectivityInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectivityInformation.
ConnectivityIssue information about an issue encountered in the process of checking for connectivity.
type ConnectivityIssue struct { // Origin - READ-ONLY; The origin of the issue. Possible values include: 'OriginLocal', 'OriginInbound', 'OriginOutbound' Origin Origin `json:"origin,omitempty"` // Severity - READ-ONLY; The severity of the issue. Possible values include: 'SeverityError', 'SeverityWarning' Severity Severity `json:"severity,omitempty"` // Type - READ-ONLY; The type of issue. Possible values include: 'IssueTypeUnknown', 'IssueTypeAgentStopped', 'IssueTypeGuestFirewall', 'IssueTypeDNSResolution', 'IssueTypeSocketBind', 'IssueTypeNetworkSecurityRule', 'IssueTypeUserDefinedRoute', 'IssueTypePortThrottled', 'IssueTypePlatform' Type IssueType `json:"type,omitempty"` // Context - READ-ONLY; Provides additional context on the issue. Context *[]map[string]*string `json:"context,omitempty"` }
func (ci ConnectivityIssue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectivityIssue.
ConnectivityParameters parameters that determine how the connectivity check will be performed.
type ConnectivityParameters struct { // Source - The source of the connection. Source *ConnectivitySource `json:"source,omitempty"` // Destination - The destination of connection. Destination *ConnectivityDestination `json:"destination,omitempty"` // Protocol - Network protocol. Possible values include: 'ProtocolTCP', 'ProtocolHTTP', 'ProtocolHTTPS', 'ProtocolIcmp' Protocol Protocol `json:"protocol,omitempty"` // ProtocolConfiguration - Configuration of the protocol. ProtocolConfiguration *ProtocolConfiguration `json:"protocolConfiguration,omitempty"` // PreferredIPVersion - Preferred IP version of the connection. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PreferredIPVersion IPVersion `json:"preferredIPVersion,omitempty"` }
ConnectivitySource parameters that define the source of the connection.
type ConnectivitySource struct { // ResourceID - The ID of the resource from which a connectivity check will be initiated. ResourceID *string `json:"resourceId,omitempty"` // Port - The source port from which a connectivity check will be performed. Port *int32 `json:"port,omitempty"` }
Container reference to container resource in remote resource provider.
type Container struct { // ID - Resource ID. ID *string `json:"id,omitempty"` }
ContainerNetworkInterface container network interface child resource.
type ContainerNetworkInterface struct { // ContainerNetworkInterfacePropertiesFormat - Container network interface properties. *ContainerNetworkInterfacePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Sub Resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (cni ContainerNetworkInterface) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterface.
func (cni *ContainerNetworkInterface) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterface struct.
ContainerNetworkInterfaceConfiguration container network interface configuration child resource.
type ContainerNetworkInterfaceConfiguration struct { // ContainerNetworkInterfaceConfigurationPropertiesFormat - Container network interface configuration properties. *ContainerNetworkInterfaceConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Sub Resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (cnic ContainerNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterfaceConfiguration.
func (cnic *ContainerNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceConfiguration struct.
ContainerNetworkInterfaceConfigurationPropertiesFormat container network interface configuration properties.
type ContainerNetworkInterfaceConfigurationPropertiesFormat struct { // IPConfigurations - A list of ip configurations of the container network interface configuration. IPConfigurations *[]IPConfigurationProfile `json:"ipConfigurations,omitempty"` // ContainerNetworkInterfaces - A list of container network interfaces created from this container network interface configuration. ContainerNetworkInterfaces *[]SubResource `json:"containerNetworkInterfaces,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the container network interface configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (cnicpf ContainerNetworkInterfaceConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterfaceConfigurationPropertiesFormat.
ContainerNetworkInterfaceIPConfiguration the ip configuration for a container network interface.
type ContainerNetworkInterfaceIPConfiguration struct { // ContainerNetworkInterfaceIPConfigurationPropertiesFormat - Properties of the container network interface IP configuration. *ContainerNetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Sub Resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` }
func (cniic ContainerNetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterfaceIPConfiguration.
func (cniic *ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceIPConfiguration struct.
ContainerNetworkInterfaceIPConfigurationPropertiesFormat properties of the container network interface IP configuration.
type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the container network interface IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (cniicpf ContainerNetworkInterfaceIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterfaceIPConfigurationPropertiesFormat.
ContainerNetworkInterfacePropertiesFormat properties of container network interface.
type ContainerNetworkInterfacePropertiesFormat struct { // ContainerNetworkInterfaceConfiguration - READ-ONLY; Container network interface configuration from which this container network interface is created. ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfiguration,omitempty"` // Container - Reference to the container to which this container network interface is attached. Container *Container `json:"container,omitempty"` // IPConfigurations - READ-ONLY; Reference to the ip configuration on this container nic. IPConfigurations *[]ContainerNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the container network interface resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (cnipf ContainerNetworkInterfacePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerNetworkInterfacePropertiesFormat.
CoverageLevel enumerates the values for coverage level.
type CoverageLevel string
const ( // CoverageLevelAboveAverage ... CoverageLevelAboveAverage CoverageLevel = "AboveAverage" // CoverageLevelAverage ... CoverageLevelAverage CoverageLevel = "Average" // CoverageLevelBelowAverage ... CoverageLevelBelowAverage CoverageLevel = "BelowAverage" // CoverageLevelDefault ... CoverageLevelDefault CoverageLevel = "Default" // CoverageLevelFull ... CoverageLevelFull CoverageLevel = "Full" // CoverageLevelLow ... CoverageLevelLow CoverageLevel = "Low" )
func PossibleCoverageLevelValues() []CoverageLevel
PossibleCoverageLevelValues returns an array of possible values for the CoverageLevel const type.
CustomDNSConfigPropertiesFormat contains custom Dns resolution configuration from customer.
type CustomDNSConfigPropertiesFormat struct { // Fqdn - Fqdn that resolves to private endpoint ip address. Fqdn *string `json:"fqdn,omitempty"` // IPAddresses - A list of private ip addresses of the private endpoint. IPAddresses *[]string `json:"ipAddresses,omitempty"` }
CustomIPPrefix custom IP prefix resource.
type CustomIPPrefix struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the custom IP prefix. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // CustomIPPrefixPropertiesFormat - Custom IP prefix properties. *CustomIPPrefixPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Zones - A list of availability zones denoting the IP allocated for the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (cip CustomIPPrefix) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomIPPrefix.
func (cip *CustomIPPrefix) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CustomIPPrefix struct.
CustomIPPrefixListResult response for ListCustomIpPrefixes API service call.
type CustomIPPrefixListResult struct { autorest.Response `json:"-"` // Value - A list of Custom IP prefixes that exists in a resource group. Value *[]CustomIPPrefix `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ciplr CustomIPPrefixListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
CustomIPPrefixListResultIterator provides access to a complete listing of CustomIPPrefix values.
type CustomIPPrefixListResultIterator struct {
// contains filtered or unexported fields
}
func NewCustomIPPrefixListResultIterator(page CustomIPPrefixListResultPage) CustomIPPrefixListResultIterator
Creates a new instance of the CustomIPPrefixListResultIterator type.
func (iter *CustomIPPrefixListResultIterator) 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 *CustomIPPrefixListResultIterator) 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 CustomIPPrefixListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter CustomIPPrefixListResultIterator) Response() CustomIPPrefixListResult
Response returns the raw server response from the last page request.
func (iter CustomIPPrefixListResultIterator) Value() CustomIPPrefix
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
CustomIPPrefixListResultPage contains a page of CustomIPPrefix values.
type CustomIPPrefixListResultPage struct {
// contains filtered or unexported fields
}
func NewCustomIPPrefixListResultPage(cur CustomIPPrefixListResult, getNextPage func(context.Context, CustomIPPrefixListResult) (CustomIPPrefixListResult, error)) CustomIPPrefixListResultPage
Creates a new instance of the CustomIPPrefixListResultPage type.
func (page *CustomIPPrefixListResultPage) 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 *CustomIPPrefixListResultPage) 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 CustomIPPrefixListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page CustomIPPrefixListResultPage) Response() CustomIPPrefixListResult
Response returns the raw server response from the last page request.
func (page CustomIPPrefixListResultPage) Values() []CustomIPPrefix
Values returns the slice of values for the current page or nil if there are no values.
CustomIPPrefixPropertiesFormat custom IP prefix properties.
type CustomIPPrefixPropertiesFormat struct { // Cidr - The prefix range in CIDR notation. Should include the start address and the prefix length. Cidr *string `json:"cidr,omitempty"` // SignedMessage - Signed message for WAN validation. SignedMessage *string `json:"signedMessage,omitempty"` // AuthorizationMessage - Authorization message for WAN validation. AuthorizationMessage *string `json:"authorizationMessage,omitempty"` // CustomIPPrefixParent - The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. CustomIPPrefixParent *SubResource `json:"customIpPrefixParent,omitempty"` // ChildCustomIPPrefixes - READ-ONLY; The list of all Children for IPv6 /48 CustomIpPrefix. ChildCustomIPPrefixes *[]SubResource `json:"childCustomIpPrefixes,omitempty"` // CommissionedState - The commissioned state of the Custom IP Prefix. Possible values include: 'CommissionedStateProvisioning', 'CommissionedStateProvisioned', 'CommissionedStateCommissioning', 'CommissionedStateCommissioned', 'CommissionedStateDecommissioning', 'CommissionedStateDeprovisioning' CommissionedState CommissionedState `json:"commissionedState,omitempty"` // PublicIPPrefixes - READ-ONLY; The list of all referenced PublicIpPrefixes. PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the custom IP prefix resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // FailedReason - READ-ONLY; The reason why resource is in failed state. FailedReason *string `json:"failedReason,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the custom IP prefix resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (cippf CustomIPPrefixPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomIPPrefixPropertiesFormat.
CustomIPPrefixesClient is the network Client
type CustomIPPrefixesClient struct { BaseClient }
func NewCustomIPPrefixesClient(subscriptionID string) CustomIPPrefixesClient
NewCustomIPPrefixesClient creates an instance of the CustomIPPrefixesClient client.
func NewCustomIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) CustomIPPrefixesClient
NewCustomIPPrefixesClientWithBaseURI creates an instance of the CustomIPPrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client CustomIPPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters CustomIPPrefix) (result CustomIPPrefixesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a custom IP prefix. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. parameters - parameters supplied to the create or update custom IP prefix operation.
func (client CustomIPPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters CustomIPPrefix) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client CustomIPPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result CustomIPPrefix, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client CustomIPPrefixesClient) CreateOrUpdateSender(req *http.Request) (future CustomIPPrefixesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client CustomIPPrefixesClient) Delete(ctx context.Context, resourceGroupName string, customIPPrefixName string) (result CustomIPPrefixesDeleteFuture, err error)
Delete deletes the specified custom IP prefix. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the CustomIpPrefix.
func (client CustomIPPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client CustomIPPrefixesClient) 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 CustomIPPrefixesClient) DeleteSender(req *http.Request) (future CustomIPPrefixesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client CustomIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, customIPPrefixName string, expand string) (result CustomIPPrefix, err error)
Get gets the specified custom IP prefix in a specified resource group. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. expand - expands referenced resources.
func (client CustomIPPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client CustomIPPrefixesClient) GetResponder(resp *http.Response) (result CustomIPPrefix, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client CustomIPPrefixesClient) 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 CustomIPPrefixesClient) List(ctx context.Context, resourceGroupName string) (result CustomIPPrefixListResultPage, err error)
List gets all custom IP prefixes in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client CustomIPPrefixesClient) ListAll(ctx context.Context) (result CustomIPPrefixListResultPage, err error)
ListAll gets all the custom IP prefixes in a subscription.
func (client CustomIPPrefixesClient) ListAllComplete(ctx context.Context) (result CustomIPPrefixListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client CustomIPPrefixesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client CustomIPPrefixesClient) ListAllResponder(resp *http.Response) (result CustomIPPrefixListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client CustomIPPrefixesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client CustomIPPrefixesClient) ListComplete(ctx context.Context, resourceGroupName string) (result CustomIPPrefixListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client CustomIPPrefixesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client CustomIPPrefixesClient) ListResponder(resp *http.Response) (result CustomIPPrefixListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client CustomIPPrefixesClient) 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.
func (client CustomIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters TagsObject) (result CustomIPPrefix, err error)
UpdateTags updates custom IP prefix tags. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. parameters - parameters supplied to update custom IP prefix tags.
func (client CustomIPPrefixesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client CustomIPPrefixesClient) UpdateTagsResponder(resp *http.Response) (result CustomIPPrefix, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client CustomIPPrefixesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
CustomIPPrefixesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type CustomIPPrefixesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(CustomIPPrefixesClient) (CustomIPPrefix, error) }
func (future *CustomIPPrefixesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
CustomIPPrefixesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type CustomIPPrefixesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(CustomIPPrefixesClient) (autorest.Response, error) }
func (future *CustomIPPrefixesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DNSNameAvailabilityResult response for the CheckDnsNameAvailability API service call.
type DNSNameAvailabilityResult struct { autorest.Response `json:"-"` // Available - Domain availability (True/False). Available *bool `json:"available,omitempty"` }
DNSSettings DNS Proxy Settings in Firewall Policy.
type DNSSettings struct { // Servers - List of Custom DNS Servers. Servers *[]string `json:"servers,omitempty"` // EnableProxy - Enable DNS Proxy on Firewalls attached to the Firewall Policy. EnableProxy *bool `json:"enableProxy,omitempty"` // RequireProxyForNetworkRules - FQDNs in Network Rules are supported when set to true. RequireProxyForNetworkRules *bool `json:"requireProxyForNetworkRules,omitempty"` }
DdosCustomPoliciesClient is the network Client
type DdosCustomPoliciesClient struct { BaseClient }
func NewDdosCustomPoliciesClient(subscriptionID string) DdosCustomPoliciesClient
NewDdosCustomPoliciesClient creates an instance of the DdosCustomPoliciesClient client.
func NewDdosCustomPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DdosCustomPoliciesClient
NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DdosCustomPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (result DdosCustomPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to the create or update operation.
func (client DdosCustomPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client DdosCustomPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DdosCustomPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client DdosCustomPoliciesClient) CreateOrUpdateSender(req *http.Request) (future DdosCustomPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client DdosCustomPoliciesClient) Delete(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPoliciesDeleteFuture, err error)
Delete deletes the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.
func (client DdosCustomPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DdosCustomPoliciesClient) 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 DdosCustomPoliciesClient) DeleteSender(req *http.Request) (future DdosCustomPoliciesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client DdosCustomPoliciesClient) Get(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPolicy, err error)
Get gets information about the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.
func (client DdosCustomPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DdosCustomPoliciesClient) GetResponder(resp *http.Response) (result DdosCustomPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client DdosCustomPoliciesClient) 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 DdosCustomPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (result DdosCustomPolicy, err error)
UpdateTags update a DDoS custom policy tags. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to update DDoS custom policy resource tags.
func (client DdosCustomPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client DdosCustomPoliciesClient) UpdateTagsResponder(resp *http.Response) (result DdosCustomPolicy, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client DdosCustomPoliciesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
DdosCustomPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DdosCustomPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DdosCustomPoliciesClient) (DdosCustomPolicy, error) }
func (future *DdosCustomPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DdosCustomPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DdosCustomPoliciesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DdosCustomPoliciesClient) (autorest.Response, error) }
func (future *DdosCustomPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DdosCustomPolicy a DDoS custom policy in a resource group.
type DdosCustomPolicy struct { autorest.Response `json:"-"` // DdosCustomPolicyPropertiesFormat - Properties of the DDoS custom policy. *DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (dcp DdosCustomPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DdosCustomPolicy.
func (dcp *DdosCustomPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DdosCustomPolicy struct.
DdosCustomPolicyPropertiesFormat dDoS custom policy properties.
type DdosCustomPolicyPropertiesFormat struct { // ResourceGUID - READ-ONLY; The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the DDoS custom policy resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PublicIPAddresses - READ-ONLY; The list of public IPs associated with the DDoS custom policy resource. This list is read-only. PublicIPAddresses *[]SubResource `json:"publicIPAddresses,omitempty"` // ProtocolCustomSettings - The protocol-specific DDoS policy customization parameters. ProtocolCustomSettings *[]ProtocolCustomSettingsFormat `json:"protocolCustomSettings,omitempty"` }
func (dcppf DdosCustomPolicyPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DdosCustomPolicyPropertiesFormat.
DdosCustomPolicyProtocol enumerates the values for ddos custom policy protocol.
type DdosCustomPolicyProtocol string
const ( // DdosCustomPolicyProtocolSyn ... DdosCustomPolicyProtocolSyn DdosCustomPolicyProtocol = "Syn" // DdosCustomPolicyProtocolTCP ... DdosCustomPolicyProtocolTCP DdosCustomPolicyProtocol = "Tcp" // DdosCustomPolicyProtocolUDP ... DdosCustomPolicyProtocolUDP DdosCustomPolicyProtocol = "Udp" )
func PossibleDdosCustomPolicyProtocolValues() []DdosCustomPolicyProtocol
PossibleDdosCustomPolicyProtocolValues returns an array of possible values for the DdosCustomPolicyProtocol const type.
DdosCustomPolicyTriggerSensitivityOverride enumerates the values for ddos custom policy trigger sensitivity override.
type DdosCustomPolicyTriggerSensitivityOverride string
const ( // DdosCustomPolicyTriggerSensitivityOverrideDefault ... DdosCustomPolicyTriggerSensitivityOverrideDefault DdosCustomPolicyTriggerSensitivityOverride = "Default" // DdosCustomPolicyTriggerSensitivityOverrideHigh ... DdosCustomPolicyTriggerSensitivityOverrideHigh DdosCustomPolicyTriggerSensitivityOverride = "High" // DdosCustomPolicyTriggerSensitivityOverrideLow ... DdosCustomPolicyTriggerSensitivityOverrideLow DdosCustomPolicyTriggerSensitivityOverride = "Low" // DdosCustomPolicyTriggerSensitivityOverrideRelaxed ... DdosCustomPolicyTriggerSensitivityOverrideRelaxed DdosCustomPolicyTriggerSensitivityOverride = "Relaxed" )
func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues() []DdosCustomPolicyTriggerSensitivityOverride
PossibleDdosCustomPolicyTriggerSensitivityOverrideValues returns an array of possible values for the DdosCustomPolicyTriggerSensitivityOverride const type.
DdosProtectionPlan a DDoS protection plan in a resource group.
type DdosProtectionPlan struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // DdosProtectionPlanPropertiesFormat - Properties of the DDoS protection plan. *DdosProtectionPlanPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` }
func (dpp DdosProtectionPlan) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DdosProtectionPlan.
func (dpp *DdosProtectionPlan) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DdosProtectionPlan struct.
DdosProtectionPlanListResult a list of DDoS protection plans.
type DdosProtectionPlanListResult struct { autorest.Response `json:"-"` // Value - A list of DDoS protection plans. Value *[]DdosProtectionPlan `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (dpplr DdosProtectionPlanListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dpplr DdosProtectionPlanListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DdosProtectionPlanListResult.
DdosProtectionPlanListResultIterator provides access to a complete listing of DdosProtectionPlan values.
type DdosProtectionPlanListResultIterator struct {
// contains filtered or unexported fields
}
func NewDdosProtectionPlanListResultIterator(page DdosProtectionPlanListResultPage) DdosProtectionPlanListResultIterator
Creates a new instance of the DdosProtectionPlanListResultIterator type.
func (iter *DdosProtectionPlanListResultIterator) 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 *DdosProtectionPlanListResultIterator) 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 DdosProtectionPlanListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DdosProtectionPlanListResultIterator) Response() DdosProtectionPlanListResult
Response returns the raw server response from the last page request.
func (iter DdosProtectionPlanListResultIterator) Value() DdosProtectionPlan
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DdosProtectionPlanListResultPage contains a page of DdosProtectionPlan values.
type DdosProtectionPlanListResultPage struct {
// contains filtered or unexported fields
}
func NewDdosProtectionPlanListResultPage(cur DdosProtectionPlanListResult, getNextPage func(context.Context, DdosProtectionPlanListResult) (DdosProtectionPlanListResult, error)) DdosProtectionPlanListResultPage
Creates a new instance of the DdosProtectionPlanListResultPage type.
func (page *DdosProtectionPlanListResultPage) 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 *DdosProtectionPlanListResultPage) 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 DdosProtectionPlanListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DdosProtectionPlanListResultPage) Response() DdosProtectionPlanListResult
Response returns the raw server response from the last page request.
func (page DdosProtectionPlanListResultPage) Values() []DdosProtectionPlan
Values returns the slice of values for the current page or nil if there are no values.
DdosProtectionPlanPropertiesFormat dDoS protection plan properties.
type DdosProtectionPlanPropertiesFormat struct { // ResourceGUID - READ-ONLY; The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the DDoS protection plan resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VirtualNetworks - READ-ONLY; The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. VirtualNetworks *[]SubResource `json:"virtualNetworks,omitempty"` }
func (dpppf DdosProtectionPlanPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DdosProtectionPlanPropertiesFormat.
DdosProtectionPlansClient is the network Client
type DdosProtectionPlansClient struct { BaseClient }
func NewDdosProtectionPlansClient(subscriptionID string) DdosProtectionPlansClient
NewDdosProtectionPlansClient creates an instance of the DdosProtectionPlansClient client.
func NewDdosProtectionPlansClientWithBaseURI(baseURI string, subscriptionID string) DdosProtectionPlansClient
NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DdosProtectionPlansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (result DdosProtectionPlansCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the create or update operation.
func (client DdosProtectionPlansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client DdosProtectionPlansClient) CreateOrUpdateResponder(resp *http.Response) (result DdosProtectionPlan, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client DdosProtectionPlansClient) CreateOrUpdateSender(req *http.Request) (future DdosProtectionPlansCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client DdosProtectionPlansClient) Delete(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlansDeleteFuture, err error)
Delete deletes the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.
func (client DdosProtectionPlansClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DdosProtectionPlansClient) 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 DdosProtectionPlansClient) DeleteSender(req *http.Request) (future DdosProtectionPlansDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client DdosProtectionPlansClient) Get(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlan, err error)
Get gets information about the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.
func (client DdosProtectionPlansClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DdosProtectionPlansClient) GetResponder(resp *http.Response) (result DdosProtectionPlan, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client DdosProtectionPlansClient) 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 DdosProtectionPlansClient) List(ctx context.Context) (result DdosProtectionPlanListResultPage, err error)
List gets all DDoS protection plans in a subscription.
func (client DdosProtectionPlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultPage, err error)
ListByResourceGroup gets all the DDoS protection plans in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client DdosProtectionPlansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client DdosProtectionPlansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client DdosProtectionPlansClient) ListByResourceGroupResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client DdosProtectionPlansClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client DdosProtectionPlansClient) ListComplete(ctx context.Context) (result DdosProtectionPlanListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client DdosProtectionPlansClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client DdosProtectionPlansClient) ListResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client DdosProtectionPlansClient) 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.
func (client DdosProtectionPlansClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (result DdosProtectionPlan, err error)
UpdateTags update a DDoS protection plan tags. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the update DDoS protection plan resource tags.
func (client DdosProtectionPlansClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client DdosProtectionPlansClient) UpdateTagsResponder(resp *http.Response) (result DdosProtectionPlan, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client DdosProtectionPlansClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
DdosProtectionPlansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DdosProtectionPlansCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DdosProtectionPlansClient) (DdosProtectionPlan, error) }
func (future *DdosProtectionPlansCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DdosProtectionPlansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DdosProtectionPlansDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DdosProtectionPlansClient) (autorest.Response, error) }
func (future *DdosProtectionPlansDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DdosSettings contains the DDoS protection settings of the public IP.
type DdosSettings struct { // DdosCustomPolicy - The DDoS custom policy associated with the public IP. DdosCustomPolicy *SubResource `json:"ddosCustomPolicy,omitempty"` // ProtectionCoverage - The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'DdosSettingsProtectionCoverageBasic', 'DdosSettingsProtectionCoverageStandard' ProtectionCoverage DdosSettingsProtectionCoverage `json:"protectionCoverage,omitempty"` // ProtectedIP - Enables DDoS protection on the public IP. ProtectedIP *bool `json:"protectedIP,omitempty"` }
DdosSettingsProtectionCoverage enumerates the values for ddos settings protection coverage.
type DdosSettingsProtectionCoverage string
const ( // DdosSettingsProtectionCoverageBasic ... DdosSettingsProtectionCoverageBasic DdosSettingsProtectionCoverage = "Basic" // DdosSettingsProtectionCoverageStandard ... DdosSettingsProtectionCoverageStandard DdosSettingsProtectionCoverage = "Standard" )
func PossibleDdosSettingsProtectionCoverageValues() []DdosSettingsProtectionCoverage
PossibleDdosSettingsProtectionCoverageValues returns an array of possible values for the DdosSettingsProtectionCoverage const type.
DefaultSecurityRulesClient is the network Client
type DefaultSecurityRulesClient struct { BaseClient }
func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesClient
NewDefaultSecurityRulesClient creates an instance of the DefaultSecurityRulesClient client.
func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient
NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result SecurityRule, err error)
Get get the specified default network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. defaultSecurityRuleName - the name of the default security rule.
func (client DefaultSecurityRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DefaultSecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client DefaultSecurityRulesClient) 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 DefaultSecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)
List gets all default security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.
func (client DefaultSecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client DefaultSecurityRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client DefaultSecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client DefaultSecurityRulesClient) 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.
Delegation details the service to which the subnet is delegated.
type Delegation struct { // ServiceDelegationPropertiesFormat - Properties of the subnet. *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a subnet. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (d Delegation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Delegation.
func (d *Delegation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Delegation struct.
DeleteBastionShareableLinkFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DeleteBastionShareableLinkFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (autorest.Response, error) }
func (future *DeleteBastionShareableLinkFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DeleteOptions enumerates the values for delete options.
type DeleteOptions string
const ( // DeleteOptionsDelete ... DeleteOptionsDelete DeleteOptions = "Delete" // DeleteOptionsDetach ... DeleteOptionsDetach DeleteOptions = "Detach" )
func PossibleDeleteOptionsValues() []DeleteOptions
PossibleDeleteOptionsValues returns an array of possible values for the DeleteOptions const type.
DestinationPortBehavior enumerates the values for destination port behavior.
type DestinationPortBehavior string
const ( // DestinationPortBehaviorListenIfAvailable ... DestinationPortBehaviorListenIfAvailable DestinationPortBehavior = "ListenIfAvailable" // DestinationPortBehaviorNone ... DestinationPortBehaviorNone DestinationPortBehavior = "None" )
func PossibleDestinationPortBehaviorValues() []DestinationPortBehavior
PossibleDestinationPortBehaviorValues returns an array of possible values for the DestinationPortBehavior const type.
DeviceProperties list of properties of the device.
type DeviceProperties struct { // DeviceVendor - Name of the device Vendor. DeviceVendor *string `json:"deviceVendor,omitempty"` // DeviceModel - Model of the device. DeviceModel *string `json:"deviceModel,omitempty"` // LinkSpeedInMbps - Link speed. LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"` }
DhGroup enumerates the values for dh group.
type DhGroup string
const ( // DhGroupDHGroup1 ... DhGroupDHGroup1 DhGroup = "DHGroup1" // DhGroupDHGroup14 ... DhGroupDHGroup14 DhGroup = "DHGroup14" // DhGroupDHGroup2 ... DhGroupDHGroup2 DhGroup = "DHGroup2" // DhGroupDHGroup2048 ... DhGroupDHGroup2048 DhGroup = "DHGroup2048" // DhGroupDHGroup24 ... DhGroupDHGroup24 DhGroup = "DHGroup24" // DhGroupECP256 ... DhGroupECP256 DhGroup = "ECP256" // DhGroupECP384 ... DhGroupECP384 DhGroup = "ECP384" // DhGroupNone ... DhGroupNone DhGroup = "None" )
func PossibleDhGroupValues() []DhGroup
PossibleDhGroupValues returns an array of possible values for the DhGroup const type.
DhcpOptions dhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
type DhcpOptions struct { // DNSServers - The list of DNS servers IP addresses. DNSServers *[]string `json:"dnsServers,omitempty"` }
Dimension dimension of the metric.
type Dimension struct { // Name - The name of the dimension. Name *string `json:"name,omitempty"` // DisplayName - The display name of the dimension. DisplayName *string `json:"displayName,omitempty"` // InternalName - The internal name of the dimension. InternalName *string `json:"internalName,omitempty"` }
Direction enumerates the values for direction.
type Direction string
const ( // DirectionInbound ... DirectionInbound Direction = "Inbound" // DirectionOutbound ... DirectionOutbound Direction = "Outbound" )
func PossibleDirectionValues() []Direction
PossibleDirectionValues returns an array of possible values for the Direction const type.
DscpConfiguration differentiated Services Code Point configuration for any given network interface
type DscpConfiguration struct { autorest.Response `json:"-"` // DscpConfigurationPropertiesFormat - Properties of the network interface. *DscpConfigurationPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (dc DscpConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscpConfiguration.
func (dc *DscpConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscpConfiguration struct.
DscpConfigurationClient is the network Client
type DscpConfigurationClient struct { BaseClient }
func NewDscpConfigurationClient(subscriptionID string) DscpConfigurationClient
NewDscpConfigurationClient creates an instance of the DscpConfigurationClient client.
func NewDscpConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscpConfigurationClient
NewDscpConfigurationClientWithBaseURI creates an instance of the DscpConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DscpConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, dscpConfigurationName string, parameters DscpConfiguration) (result DscpConfigurationCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource. parameters - parameters supplied to the create or update dscp configuration operation.
func (client DscpConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string, parameters DscpConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client DscpConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscpConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client DscpConfigurationClient) CreateOrUpdateSender(req *http.Request) (future DscpConfigurationCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client DscpConfigurationClient) Delete(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (result DscpConfigurationDeleteFuture, err error)
Delete deletes a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource.
func (client DscpConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DscpConfigurationClient) 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 DscpConfigurationClient) DeleteSender(req *http.Request) (future DscpConfigurationDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client DscpConfigurationClient) Get(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (result DscpConfiguration, err error)
Get gets a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource.
func (client DscpConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DscpConfigurationClient) GetResponder(resp *http.Response) (result DscpConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client DscpConfigurationClient) 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 DscpConfigurationClient) List(ctx context.Context, resourceGroupName string) (result DscpConfigurationListResultPage, err error)
List gets a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group.
func (client DscpConfigurationClient) ListAll(ctx context.Context) (result DscpConfigurationListResultPage, err error)
ListAll gets all dscp configurations in a subscription.
func (client DscpConfigurationClient) ListAllComplete(ctx context.Context) (result DscpConfigurationListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client DscpConfigurationClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client DscpConfigurationClient) ListAllResponder(resp *http.Response) (result DscpConfigurationListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client DscpConfigurationClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client DscpConfigurationClient) ListComplete(ctx context.Context, resourceGroupName string) (result DscpConfigurationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client DscpConfigurationClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client DscpConfigurationClient) ListResponder(resp *http.Response) (result DscpConfigurationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client DscpConfigurationClient) 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.
DscpConfigurationCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DscpConfigurationCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DscpConfigurationClient) (DscpConfiguration, error) }
func (future *DscpConfigurationCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DscpConfigurationDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DscpConfigurationDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DscpConfigurationClient) (autorest.Response, error) }
func (future *DscpConfigurationDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DscpConfigurationListResult response for the DscpConfigurationList API service call.
type DscpConfigurationListResult struct { autorest.Response `json:"-"` // Value - A list of dscp configurations in a resource group. Value *[]DscpConfiguration `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (dclr DscpConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dclr DscpConfigurationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscpConfigurationListResult.
DscpConfigurationListResultIterator provides access to a complete listing of DscpConfiguration values.
type DscpConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
func NewDscpConfigurationListResultIterator(page DscpConfigurationListResultPage) DscpConfigurationListResultIterator
Creates a new instance of the DscpConfigurationListResultIterator type.
func (iter *DscpConfigurationListResultIterator) 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 *DscpConfigurationListResultIterator) 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 DscpConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DscpConfigurationListResultIterator) Response() DscpConfigurationListResult
Response returns the raw server response from the last page request.
func (iter DscpConfigurationListResultIterator) Value() DscpConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DscpConfigurationListResultPage contains a page of DscpConfiguration values.
type DscpConfigurationListResultPage struct {
// contains filtered or unexported fields
}
func NewDscpConfigurationListResultPage(cur DscpConfigurationListResult, getNextPage func(context.Context, DscpConfigurationListResult) (DscpConfigurationListResult, error)) DscpConfigurationListResultPage
Creates a new instance of the DscpConfigurationListResultPage type.
func (page *DscpConfigurationListResultPage) 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 *DscpConfigurationListResultPage) 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 DscpConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DscpConfigurationListResultPage) Response() DscpConfigurationListResult
Response returns the raw server response from the last page request.
func (page DscpConfigurationListResultPage) Values() []DscpConfiguration
Values returns the slice of values for the current page or nil if there are no values.
DscpConfigurationPropertiesFormat differentiated Services Code Point configuration properties.
type DscpConfigurationPropertiesFormat struct { // Markings - List of markings to be used in the configuration. Markings *[]int32 `json:"markings,omitempty"` // SourceIPRanges - Source IP ranges. SourceIPRanges *[]QosIPRange `json:"sourceIpRanges,omitempty"` // DestinationIPRanges - Destination IP ranges. DestinationIPRanges *[]QosIPRange `json:"destinationIpRanges,omitempty"` // SourcePortRanges - Sources port ranges. SourcePortRanges *[]QosPortRange `json:"sourcePortRanges,omitempty"` // DestinationPortRanges - Destination port ranges. DestinationPortRanges *[]QosPortRange `json:"destinationPortRanges,omitempty"` // Protocol - RNM supported protocol types. Possible values include: 'ProtocolTypeDoNotUse', 'ProtocolTypeIcmp', 'ProtocolTypeTCP', 'ProtocolTypeUDP', 'ProtocolTypeGre', 'ProtocolTypeEsp', 'ProtocolTypeAh', 'ProtocolTypeVxlan', 'ProtocolTypeAll' Protocol ProtocolType `json:"protocol,omitempty"` // QosDefinitionCollection - QoS object definitions QosDefinitionCollection *[]QosDefinition `json:"qosDefinitionCollection,omitempty"` // QosCollectionID - READ-ONLY; Qos Collection ID generated by RNM. QosCollectionID *string `json:"qosCollectionId,omitempty"` // AssociatedNetworkInterfaces - READ-ONLY; Associated Network Interfaces to the DSCP Configuration. AssociatedNetworkInterfaces *[]Interface `json:"associatedNetworkInterfaces,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the DSCP Configuration resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the DSCP Configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (dcpf DscpConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscpConfigurationPropertiesFormat.
EffectiveNetworkSecurityGroup effective network security group.
type EffectiveNetworkSecurityGroup struct { // NetworkSecurityGroup - The ID of network security group that is applied. NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` // Association - Associated resources. Association *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"` // EffectiveSecurityRules - A collection of effective security rules. EffectiveSecurityRules *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"` // TagMap - Mapping of tags to list of IP Addresses included within the tag. TagMap map[string][]string `json:"tagMap"` }
func (ensg EffectiveNetworkSecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EffectiveNetworkSecurityGroup.
EffectiveNetworkSecurityGroupAssociation the effective network security group association.
type EffectiveNetworkSecurityGroupAssociation struct { // NetworkManager - The ID of the Azure network manager if assigned. NetworkManager *SubResource `json:"networkManager,omitempty"` // Subnet - The ID of the subnet if assigned. Subnet *SubResource `json:"subnet,omitempty"` // NetworkInterface - The ID of the network interface if assigned. NetworkInterface *SubResource `json:"networkInterface,omitempty"` }
EffectiveNetworkSecurityGroupListResult response for list effective network security groups API service call.
type EffectiveNetworkSecurityGroupListResult struct { autorest.Response `json:"-"` // Value - A list of effective network security groups. Value *[]EffectiveNetworkSecurityGroup `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ensglr EffectiveNetworkSecurityGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EffectiveNetworkSecurityGroupListResult.
EffectiveNetworkSecurityRule effective network security rules.
type EffectiveNetworkSecurityRule struct { // Name - The name of the security rule specified by the user (if created by the user). Name *string `json:"name,omitempty"` // Protocol - The network protocol this rule applies to. Possible values include: 'EffectiveSecurityRuleProtocolTCP', 'EffectiveSecurityRuleProtocolUDP', 'EffectiveSecurityRuleProtocolAll' Protocol EffectiveSecurityRuleProtocol `json:"protocol,omitempty"` // SourcePortRange - The source port or range. SourcePortRange *string `json:"sourcePortRange,omitempty"` // DestinationPortRange - The destination port or range. DestinationPortRange *string `json:"destinationPortRange,omitempty"` // SourcePortRanges - The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` // DestinationPortRanges - The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` // SourceAddressPrefix - The source address prefix. SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` // DestinationAddressPrefix - The destination address prefix. DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` // SourceAddressPrefixes - The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` // DestinationAddressPrefixes - The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` // ExpandedSourceAddressPrefix - The expanded source address prefix. ExpandedSourceAddressPrefix *[]string `json:"expandedSourceAddressPrefix,omitempty"` // ExpandedDestinationAddressPrefix - Expanded destination address prefix. ExpandedDestinationAddressPrefix *[]string `json:"expandedDestinationAddressPrefix,omitempty"` // Access - Whether network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny' Access SecurityRuleAccess `json:"access,omitempty"` // Priority - The priority of the rule. Priority *int32 `json:"priority,omitempty"` // Direction - The direction of the rule. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound' Direction SecurityRuleDirection `json:"direction,omitempty"` }
EffectiveRoute effective Route.
type EffectiveRoute struct { // Name - The name of the user defined route. This is optional. Name *string `json:"name,omitempty"` // DisableBgpRoutePropagation - If true, on-premises routes are not propagated to the network interfaces in the subnet. DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` // Source - Who created the route. Possible values include: 'EffectiveRouteSourceUnknown', 'EffectiveRouteSourceUser', 'EffectiveRouteSourceVirtualNetworkGateway', 'EffectiveRouteSourceDefault' Source EffectiveRouteSource `json:"source,omitempty"` // State - The value of effective route. Possible values include: 'EffectiveRouteStateActive', 'EffectiveRouteStateInvalid' State EffectiveRouteState `json:"state,omitempty"` // AddressPrefix - The address prefixes of the effective routes in CIDR notation. AddressPrefix *[]string `json:"addressPrefix,omitempty"` // NextHopIPAddress - The IP address of the next hop of the effective route. NextHopIPAddress *[]string `json:"nextHopIpAddress,omitempty"` // NextHopType - The type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone' NextHopType RouteNextHopType `json:"nextHopType,omitempty"` }
EffectiveRouteListResult response for list effective route API service call.
type EffectiveRouteListResult struct { autorest.Response `json:"-"` // Value - A list of effective routes. Value *[]EffectiveRoute `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erlr EffectiveRouteListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EffectiveRouteListResult.
EffectiveRouteSource enumerates the values for effective route source.
type EffectiveRouteSource string
const ( // EffectiveRouteSourceDefault ... EffectiveRouteSourceDefault EffectiveRouteSource = "Default" // EffectiveRouteSourceUnknown ... EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown" // EffectiveRouteSourceUser ... EffectiveRouteSourceUser EffectiveRouteSource = "User" // EffectiveRouteSourceVirtualNetworkGateway ... EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway" )
func PossibleEffectiveRouteSourceValues() []EffectiveRouteSource
PossibleEffectiveRouteSourceValues returns an array of possible values for the EffectiveRouteSource const type.
EffectiveRouteState enumerates the values for effective route state.
type EffectiveRouteState string
const ( // EffectiveRouteStateActive ... EffectiveRouteStateActive EffectiveRouteState = "Active" // EffectiveRouteStateInvalid ... EffectiveRouteStateInvalid EffectiveRouteState = "Invalid" )
func PossibleEffectiveRouteStateValues() []EffectiveRouteState
PossibleEffectiveRouteStateValues returns an array of possible values for the EffectiveRouteState const type.
EffectiveRoutesParameters the parameters specifying the resource whose effective routes are being requested.
type EffectiveRoutesParameters struct { // ResourceID - The resource whose effective routes are being requested. ResourceID *string `json:"resourceId,omitempty"` // VirtualWanResourceType - The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection. VirtualWanResourceType *string `json:"virtualWanResourceType,omitempty"` }
EffectiveSecurityRuleProtocol enumerates the values for effective security rule protocol.
type EffectiveSecurityRuleProtocol string
const ( // EffectiveSecurityRuleProtocolAll ... EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All" // EffectiveSecurityRuleProtocolTCP ... EffectiveSecurityRuleProtocolTCP EffectiveSecurityRuleProtocol = "Tcp" // EffectiveSecurityRuleProtocolUDP ... EffectiveSecurityRuleProtocolUDP EffectiveSecurityRuleProtocol = "Udp" )
func PossibleEffectiveSecurityRuleProtocolValues() []EffectiveSecurityRuleProtocol
PossibleEffectiveSecurityRuleProtocolValues returns an array of possible values for the EffectiveSecurityRuleProtocol const type.
EndpointServiceResult endpoint service.
type EndpointServiceResult struct { // Name - READ-ONLY; Name of the endpoint service. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the endpoint service. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (esr EndpointServiceResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EndpointServiceResult.
EndpointServicesListResult response for the ListAvailableEndpointServices API service call.
type EndpointServicesListResult struct { autorest.Response `json:"-"` // Value - List of available endpoint services in a region. Value *[]EndpointServiceResult `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (eslr EndpointServicesListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
EndpointServicesListResultIterator provides access to a complete listing of EndpointServiceResult values.
type EndpointServicesListResultIterator struct {
// contains filtered or unexported fields
}
func NewEndpointServicesListResultIterator(page EndpointServicesListResultPage) EndpointServicesListResultIterator
Creates a new instance of the EndpointServicesListResultIterator type.
func (iter *EndpointServicesListResultIterator) 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 *EndpointServicesListResultIterator) 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 EndpointServicesListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter EndpointServicesListResultIterator) Response() EndpointServicesListResult
Response returns the raw server response from the last page request.
func (iter EndpointServicesListResultIterator) Value() EndpointServiceResult
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
EndpointServicesListResultPage contains a page of EndpointServiceResult values.
type EndpointServicesListResultPage struct {
// contains filtered or unexported fields
}
func NewEndpointServicesListResultPage(cur EndpointServicesListResult, getNextPage func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error)) EndpointServicesListResultPage
Creates a new instance of the EndpointServicesListResultPage type.
func (page *EndpointServicesListResultPage) 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 *EndpointServicesListResultPage) 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 EndpointServicesListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page EndpointServicesListResultPage) Response() EndpointServicesListResult
Response returns the raw server response from the last page request.
func (page EndpointServicesListResultPage) Values() []EndpointServiceResult
Values returns the slice of values for the current page or nil if there are no values.
EndpointType enumerates the values for endpoint type.
type EndpointType string
const ( // EndpointTypeAzureSubnet ... EndpointTypeAzureSubnet EndpointType = "AzureSubnet" // EndpointTypeAzureVM ... EndpointTypeAzureVM EndpointType = "AzureVM" // EndpointTypeAzureVNet ... EndpointTypeAzureVNet EndpointType = "AzureVNet" // EndpointTypeExternalAddress ... EndpointTypeExternalAddress EndpointType = "ExternalAddress" // EndpointTypeMMAWorkspaceMachine ... EndpointTypeMMAWorkspaceMachine EndpointType = "MMAWorkspaceMachine" // EndpointTypeMMAWorkspaceNetwork ... EndpointTypeMMAWorkspaceNetwork EndpointType = "MMAWorkspaceNetwork" )
func PossibleEndpointTypeValues() []EndpointType
PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
Error common error representation.
type Error struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - Error message. Message *string `json:"message,omitempty"` // Target - Error target. Target *string `json:"target,omitempty"` // Details - Error details. Details *[]ErrorDetails `json:"details,omitempty"` // InnerError - Inner error message. InnerError *string `json:"innerError,omitempty"` }
ErrorDetails common error details representation.
type ErrorDetails struct { // Code - Error code. Code *string `json:"code,omitempty"` // Target - Error target. Target *string `json:"target,omitempty"` // Message - Error message. Message *string `json:"message,omitempty"` }
ErrorResponse the error object.
type ErrorResponse struct { // Error - The error details object. Error *ErrorDetails `json:"error,omitempty"` }
EvaluatedNetworkSecurityGroup results of network security group evaluation.
type EvaluatedNetworkSecurityGroup struct { // NetworkSecurityGroupID - Network security group ID. NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty"` // AppliedTo - Resource ID of nic or subnet to which network security group is applied. AppliedTo *string `json:"appliedTo,omitempty"` // MatchedRule - Matched network security rule. MatchedRule *MatchedRule `json:"matchedRule,omitempty"` // RulesEvaluationResult - READ-ONLY; List of network security rules evaluation results. RulesEvaluationResult *[]SecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty"` }
func (ensg EvaluatedNetworkSecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EvaluatedNetworkSecurityGroup.
EvaluationState enumerates the values for evaluation state.
type EvaluationState string
const ( // EvaluationStateCompleted ... EvaluationStateCompleted EvaluationState = "Completed" // EvaluationStateInProgress ... EvaluationStateInProgress EvaluationState = "InProgress" // EvaluationStateNotStarted ... EvaluationStateNotStarted EvaluationState = "NotStarted" )
func PossibleEvaluationStateValues() []EvaluationState
PossibleEvaluationStateValues returns an array of possible values for the EvaluationState const type.
ExclusionManagedRule defines a managed rule to use for exclusion.
type ExclusionManagedRule struct { // RuleID - Identifier for the managed rule. RuleID *string `json:"ruleId,omitempty"` }
ExclusionManagedRuleGroup defines a managed rule group to use for exclusion.
type ExclusionManagedRuleGroup struct { // RuleGroupName - The managed rule group for exclusion. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules - List of rules that will be excluded. If none specified, all rules in the group will be excluded. Rules *[]ExclusionManagedRule `json:"rules,omitempty"` }
ExclusionManagedRuleSet defines a managed rule set for Exclusions.
type ExclusionManagedRuleSet struct { // RuleSetType - Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion - Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` // RuleGroups - Defines the rule groups to apply to the rule set. RuleGroups *[]ExclusionManagedRuleGroup `json:"ruleGroups,omitempty"` }
ExplicitProxySettings explicit Proxy Settings in Firewall Policy.
type ExplicitProxySettings struct { // EnableExplicitProxy - When set to true, explicit proxy mode is enabled. EnableExplicitProxy *bool `json:"enableExplicitProxy,omitempty"` // HTTPPort - Port number for explicit proxy http protocol, cannot be greater than 64000. HTTPPort *int32 `json:"httpPort,omitempty"` // HTTPSPort - Port number for explicit proxy https protocol, cannot be greater than 64000. HTTPSPort *int32 `json:"httpsPort,omitempty"` // PacFilePort - Port number for firewall to serve PAC file. PacFilePort *int32 `json:"pacFilePort,omitempty"` // PacFile - SAS URL for PAC file. PacFile *string `json:"pacFile,omitempty"` }
ExpressRouteCircuit expressRouteCircuit resource.
type ExpressRouteCircuit struct { autorest.Response `json:"-"` // Sku - The SKU. Sku *ExpressRouteCircuitSku `json:"sku,omitempty"` // ExpressRouteCircuitPropertiesFormat - Properties of the express route circuit. *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (erc ExpressRouteCircuit) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuit.
func (erc *ExpressRouteCircuit) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuit struct.
ExpressRouteCircuitArpTable the ARP table associated with the ExpressRouteCircuit.
type ExpressRouteCircuitArpTable struct { // Age - Entry age in minutes. Age *int32 `json:"age,omitempty"` // Interface - Interface address. Interface *string `json:"interface,omitempty"` // IPAddress - The IP address. IPAddress *string `json:"ipAddress,omitempty"` // MacAddress - The MAC address. MacAddress *string `json:"macAddress,omitempty"` }
ExpressRouteCircuitAuthorization authorization in an ExpressRouteCircuit resource.
type ExpressRouteCircuitAuthorization struct { autorest.Response `json:"-"` // AuthorizationPropertiesFormat - Properties of the express route circuit authorization. *AuthorizationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (erca ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitAuthorization.
func (erca *ExpressRouteCircuitAuthorization) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitAuthorization struct.
ExpressRouteCircuitAuthorizationsClient is the network Client
type ExpressRouteCircuitAuthorizationsClient struct { BaseClient }
func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient
NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient
NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an authorization in the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization. authorizationParameters - parameters supplied to the create or update express route circuit authorization operation.
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error)
Delete deletes the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.
func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteCircuitAuthorizationsClient) 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 ExpressRouteCircuitAuthorizationsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)
Get gets the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.
func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCircuitAuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitAuthorizationsClient) 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 ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error)
List gets all authorizations in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.
func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitAuthorizationsClient) 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.
ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitAuthorizationsClient) (ExpressRouteCircuitAuthorization, error) }
func (future *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitAuthorizationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitAuthorizationsClient) (autorest.Response, error) }
func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitConnection express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
type ExpressRouteCircuitConnection struct { autorest.Response `json:"-"` // ExpressRouteCircuitConnectionPropertiesFormat - Properties of the express route circuit connection. *ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (ercc ExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitConnection.
func (ercc *ExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitConnection struct.
ExpressRouteCircuitConnectionListResult response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.
type ExpressRouteCircuitConnectionListResult struct { autorest.Response `json:"-"` // Value - The global reach connection associated with Private Peering in an ExpressRoute Circuit. Value *[]ExpressRouteCircuitConnection `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ercclr ExpressRouteCircuitConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRouteCircuitConnectionListResultIterator provides access to a complete listing of ExpressRouteCircuitConnection values.
type ExpressRouteCircuitConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitConnectionListResultIterator(page ExpressRouteCircuitConnectionListResultPage) ExpressRouteCircuitConnectionListResultIterator
Creates a new instance of the ExpressRouteCircuitConnectionListResultIterator type.
func (iter *ExpressRouteCircuitConnectionListResultIterator) 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 *ExpressRouteCircuitConnectionListResultIterator) 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 ExpressRouteCircuitConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteCircuitConnectionListResultIterator) Response() ExpressRouteCircuitConnectionListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteCircuitConnectionListResultIterator) Value() ExpressRouteCircuitConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteCircuitConnectionListResultPage contains a page of ExpressRouteCircuitConnection values.
type ExpressRouteCircuitConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitConnectionListResultPage(cur ExpressRouteCircuitConnectionListResult, getNextPage func(context.Context, ExpressRouteCircuitConnectionListResult) (ExpressRouteCircuitConnectionListResult, error)) ExpressRouteCircuitConnectionListResultPage
Creates a new instance of the ExpressRouteCircuitConnectionListResultPage type.
func (page *ExpressRouteCircuitConnectionListResultPage) 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 *ExpressRouteCircuitConnectionListResultPage) 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 ExpressRouteCircuitConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteCircuitConnectionListResultPage) Response() ExpressRouteCircuitConnectionListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteCircuitConnectionListResultPage) Values() []ExpressRouteCircuitConnection
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteCircuitConnectionPropertiesFormat properties of the express route circuit connection.
type ExpressRouteCircuitConnectionPropertiesFormat struct { // ExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` // PeerExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the peered circuit. PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` // AddressPrefix - /29 IP address space to carve out Customer addresses for tunnels. AddressPrefix *string `json:"addressPrefix,omitempty"` // AuthorizationKey - The authorization key. AuthorizationKey *string `json:"authorizationKey,omitempty"` // Ipv6CircuitConnectionConfig - IPv6 Address PrefixProperties of the express route circuit connection. Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"` // CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'CircuitConnectionStatusConnected', 'CircuitConnectionStatusConnecting', 'CircuitConnectionStatusDisconnected' CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route circuit connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (erccpf ExpressRouteCircuitConnectionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitConnectionPropertiesFormat.
ExpressRouteCircuitConnectionsClient is the network Client
type ExpressRouteCircuitConnectionsClient struct { BaseClient }
func NewExpressRouteCircuitConnectionsClient(subscriptionID string) ExpressRouteCircuitConnectionsClient
NewExpressRouteCircuitConnectionsClient creates an instance of the ExpressRouteCircuitConnectionsClient client.
func NewExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitConnectionsClient
NewExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the ExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (result ExpressRouteCircuitConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a Express Route Circuit Connection in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection. expressRouteCircuitConnectionParameters - parameters supplied to the create or update express route circuit connection operation.
func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitConnectionsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnectionsDeleteFuture, err error)
Delete deletes the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.
func (client ExpressRouteCircuitConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteCircuitConnectionsClient) 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 ExpressRouteCircuitConnectionsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnection, err error)
Get gets the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.
func (client ExpressRouteCircuitConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCircuitConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitConnectionsClient) 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 ExpressRouteCircuitConnectionsClient) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultPage, err error)
List gets all global reach connections associated with a private peering in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.
func (client ExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCircuitConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCircuitConnectionsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitConnectionsClient) 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.
ExpressRouteCircuitConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitConnectionsClient) (ExpressRouteCircuitConnection, error) }
func (future *ExpressRouteCircuitConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitConnectionsClient) (autorest.Response, error) }
func (future *ExpressRouteCircuitConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitListResult response for ListExpressRouteCircuit API service call.
type ExpressRouteCircuitListResult struct { autorest.Response `json:"-"` // Value - A list of ExpressRouteCircuits in a resource group. Value *[]ExpressRouteCircuit `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erclr ExpressRouteCircuitListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit values.
type ExpressRouteCircuitListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitListResultIterator(page ExpressRouteCircuitListResultPage) ExpressRouteCircuitListResultIterator
Creates a new instance of the ExpressRouteCircuitListResultIterator type.
func (iter *ExpressRouteCircuitListResultIterator) 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 *ExpressRouteCircuitListResultIterator) 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 ExpressRouteCircuitListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteCircuitListResultIterator) Response() ExpressRouteCircuitListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteCircuitListResultIterator) Value() ExpressRouteCircuit
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteCircuitListResultPage contains a page of ExpressRouteCircuit values.
type ExpressRouteCircuitListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitListResultPage(cur ExpressRouteCircuitListResult, getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage
Creates a new instance of the ExpressRouteCircuitListResultPage type.
func (page *ExpressRouteCircuitListResultPage) 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 *ExpressRouteCircuitListResultPage) 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 ExpressRouteCircuitListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteCircuitListResultPage) Response() ExpressRouteCircuitListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteCircuitListResultPage) Values() []ExpressRouteCircuit
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteCircuitPeering peering in an ExpressRouteCircuit resource.
type ExpressRouteCircuitPeering struct { autorest.Response `json:"-"` // ExpressRouteCircuitPeeringPropertiesFormat - Properties of the express route circuit peering. *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (ercp ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitPeering.
func (ercp *ExpressRouteCircuitPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitPeering struct.
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values for express route circuit peering advertised public prefix state.
type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string
const ( // ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured ... ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured" // ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring ... ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring" // ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured ... ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured" // ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded ... ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded" )
func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns an array of possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.
ExpressRouteCircuitPeeringConfig specifies the peering configuration.
type ExpressRouteCircuitPeeringConfig struct { // AdvertisedPublicPrefixes - The reference to AdvertisedPublicPrefixes. AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"` // AdvertisedCommunities - The communities of bgp peering. Specified for microsoft peering. AdvertisedCommunities *[]string `json:"advertisedCommunities,omitempty"` // AdvertisedPublicPrefixesState - READ-ONLY; The advertised public prefix state of the Peering resource. Possible values include: 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured', 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring', 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured', 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded' AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"` // LegacyMode - The legacy mode of the peering. LegacyMode *int32 `json:"legacyMode,omitempty"` // CustomerASN - The CustomerASN of the peering. CustomerASN *int32 `json:"customerASN,omitempty"` // RoutingRegistryName - The RoutingRegistryName of the configuration. RoutingRegistryName *string `json:"routingRegistryName,omitempty"` }
func (ercpc ExpressRouteCircuitPeeringConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitPeeringConfig.
ExpressRouteCircuitPeeringID expressRoute circuit peering identifier.
type ExpressRouteCircuitPeeringID struct { // ID - The ID of the ExpressRoute circuit peering. ID *string `json:"id,omitempty"` }
ExpressRouteCircuitPeeringListResult response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit.
type ExpressRouteCircuitPeeringListResult struct { autorest.Response `json:"-"` // Value - The peerings in an express route circuit. Value *[]ExpressRouteCircuitPeering `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ercplr ExpressRouteCircuitPeeringListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRouteCircuitPeeringListResultIterator provides access to a complete listing of ExpressRouteCircuitPeering values.
type ExpressRouteCircuitPeeringListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator
Creates a new instance of the ExpressRouteCircuitPeeringListResultIterator type.
func (iter *ExpressRouteCircuitPeeringListResultIterator) 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 *ExpressRouteCircuitPeeringListResultIterator) 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 ExpressRouteCircuitPeeringListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteCircuitPeeringListResultIterator) Response() ExpressRouteCircuitPeeringListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteCircuitPeeringListResultIterator) Value() ExpressRouteCircuitPeering
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteCircuitPeeringListResultPage contains a page of ExpressRouteCircuitPeering values.
type ExpressRouteCircuitPeeringListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteCircuitPeeringListResultPage(cur ExpressRouteCircuitPeeringListResult, getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage
Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.
func (page *ExpressRouteCircuitPeeringListResultPage) 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 *ExpressRouteCircuitPeeringListResultPage) 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 ExpressRouteCircuitPeeringListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteCircuitPeeringListResultPage) Response() ExpressRouteCircuitPeeringListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteCircuitPeeringListResultPage) Values() []ExpressRouteCircuitPeering
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteCircuitPeeringPropertiesFormat properties of the express route circuit peering.
type ExpressRouteCircuitPeeringPropertiesFormat struct { // PeeringType - The peering type. Possible values include: 'ExpressRoutePeeringTypeAzurePublicPeering', 'ExpressRoutePeeringTypeAzurePrivatePeering', 'ExpressRoutePeeringTypeMicrosoftPeering' PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"` // State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled' State ExpressRoutePeeringState `json:"state,omitempty"` // AzureASN - The Azure ASN. AzureASN *int32 `json:"azureASN,omitempty"` // PeerASN - The peer ASN. PeerASN *int64 `json:"peerASN,omitempty"` // PrimaryPeerAddressPrefix - The primary address prefix. PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` // SecondaryPeerAddressPrefix - The secondary address prefix. SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` // PrimaryAzurePort - The primary port. PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"` // SecondaryAzurePort - The secondary port. SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"` // SharedKey - The shared key. SharedKey *string `json:"sharedKey,omitempty"` // VlanID - The VLAN ID. VlanID *int32 `json:"vlanId,omitempty"` // MicrosoftPeeringConfig - The Microsoft peering configuration. MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` // Stats - The peering stats of express route circuit. Stats *ExpressRouteCircuitStats `json:"stats,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route circuit peering resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // GatewayManagerEtag - The GatewayManager Etag. GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` // LastModifiedBy - READ-ONLY; Who was the last to modify the peering. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // RouteFilter - The reference to the RouteFilter resource. RouteFilter *SubResource `json:"routeFilter,omitempty"` // Ipv6PeeringConfig - The IPv6 peering configuration. Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"` // ExpressRouteConnection - The ExpressRoute connection. ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"` // Connections - The list of circuit connections associated with Azure Private Peering for this circuit. Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"` // PeeredConnections - READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit. PeeredConnections *[]PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty"` }
func (ercppf ExpressRouteCircuitPeeringPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitPeeringPropertiesFormat.
ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.
type ExpressRouteCircuitPeeringState string
const ( // ExpressRouteCircuitPeeringStateDisabled ... ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled" // ExpressRouteCircuitPeeringStateEnabled ... ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled" )
func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState
PossibleExpressRouteCircuitPeeringStateValues returns an array of possible values for the ExpressRouteCircuitPeeringState const type.
ExpressRouteCircuitPeeringsClient is the network Client
type ExpressRouteCircuitPeeringsClient struct { BaseClient }
func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient
NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.
func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient
NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a peering in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update express route circuit peering operation.
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitPeeringsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeeringsDeleteFuture, err error)
Delete deletes the specified peering from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.
func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteCircuitPeeringsClient) 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 ExpressRouteCircuitPeeringsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitPeeringsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)
Get gets the specified peering for the express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.
func (client ExpressRouteCircuitPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitPeeringsClient) 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 ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)
List gets all peerings in a specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.
func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCircuitPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCircuitPeeringsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitPeeringListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitPeeringsClient) 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.
ExpressRouteCircuitPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitPeeringsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitPeeringsClient) (ExpressRouteCircuitPeering, error) }
func (future *ExpressRouteCircuitPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitPeeringsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitPeeringsClient) (autorest.Response, error) }
func (future *ExpressRouteCircuitPeeringsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit.
type ExpressRouteCircuitPropertiesFormat struct { // AllowClassicOperations - Allow classic operations. AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"` // CircuitProvisioningState - The CircuitProvisioningState state of the resource. CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"` // ServiceProviderProvisioningState - The ServiceProviderProvisioningState state of the resource. Possible values include: 'ServiceProviderProvisioningStateNotProvisioned', 'ServiceProviderProvisioningStateProvisioning', 'ServiceProviderProvisioningStateProvisioned', 'ServiceProviderProvisioningStateDeprovisioning' ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"` // Authorizations - The list of authorizations. Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"` // Peerings - The list of peerings. Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"` // ServiceKey - The ServiceKey. ServiceKey *string `json:"serviceKey,omitempty"` // ServiceProviderNotes - The ServiceProviderNotes. ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"` // ServiceProviderProperties - The ServiceProviderProperties. ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"` // ExpressRoutePort - The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"` // BandwidthInGbps - The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. BandwidthInGbps *float64 `json:"bandwidthInGbps,omitempty"` // Stag - READ-ONLY; The identifier of the circuit traffic. Outer tag for QinQ encapsulation. Stag *int32 `json:"stag,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route circuit resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // GatewayManagerEtag - The GatewayManager Etag. GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` // GlobalReachEnabled - Flag denoting global reach status. GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"` // AuthorizationKey - The authorizationKey. AuthorizationKey *string `json:"authorizationKey,omitempty"` }
func (ercpf ExpressRouteCircuitPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitPropertiesFormat.
ExpressRouteCircuitReference reference to an express route circuit.
type ExpressRouteCircuitReference struct { // ID - Corresponding Express Route Circuit Id. ID *string `json:"id,omitempty"` }
ExpressRouteCircuitRoutesTable the routes table associated with the ExpressRouteCircuit.
type ExpressRouteCircuitRoutesTable struct { // NetworkProperty - IP address of a network entity. NetworkProperty *string `json:"network,omitempty"` // NextHop - NextHop address. NextHop *string `json:"nextHop,omitempty"` // LocPrf - Local preference value as set with the set local-preference route-map configuration command. LocPrf *string `json:"locPrf,omitempty"` // Weight - Route Weight. Weight *int32 `json:"weight,omitempty"` // Path - Autonomous system paths to the destination network. Path *string `json:"path,omitempty"` }
ExpressRouteCircuitRoutesTableSummary the routes table associated with the ExpressRouteCircuit.
type ExpressRouteCircuitRoutesTableSummary struct { // Neighbor - IP address of the neighbor. Neighbor *string `json:"neighbor,omitempty"` // V - BGP version number spoken to the neighbor. V *int32 `json:"v,omitempty"` // As - Autonomous system number. As *int32 `json:"as,omitempty"` // UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state. UpDown *string `json:"upDown,omitempty"` // StatePfxRcd - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group. StatePfxRcd *string `json:"statePfxRcd,omitempty"` }
ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an ExpressRouteCircuit.
type ExpressRouteCircuitServiceProviderProperties struct { // ServiceProviderName - The serviceProviderName. ServiceProviderName *string `json:"serviceProviderName,omitempty"` // PeeringLocation - The peering location. PeeringLocation *string `json:"peeringLocation,omitempty"` // BandwidthInMbps - The BandwidthInMbps. BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"` }
ExpressRouteCircuitSku contains SKU in an ExpressRouteCircuit.
type ExpressRouteCircuitSku struct { // Name - The name of the SKU. Name *string `json:"name,omitempty"` // Tier - The tier of the SKU. Possible values include: 'ExpressRouteCircuitSkuTierStandard', 'ExpressRouteCircuitSkuTierPremium', 'ExpressRouteCircuitSkuTierBasic', 'ExpressRouteCircuitSkuTierLocal' Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"` // Family - The family of the SKU. Possible values include: 'ExpressRouteCircuitSkuFamilyUnlimitedData', 'ExpressRouteCircuitSkuFamilyMeteredData' Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"` }
ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.
type ExpressRouteCircuitSkuFamily string
const ( // ExpressRouteCircuitSkuFamilyMeteredData ... ExpressRouteCircuitSkuFamilyMeteredData ExpressRouteCircuitSkuFamily = "MeteredData" // ExpressRouteCircuitSkuFamilyUnlimitedData ... ExpressRouteCircuitSkuFamilyUnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData" )
func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily
PossibleExpressRouteCircuitSkuFamilyValues returns an array of possible values for the ExpressRouteCircuitSkuFamily const type.
ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.
type ExpressRouteCircuitSkuTier string
const ( // ExpressRouteCircuitSkuTierBasic ... ExpressRouteCircuitSkuTierBasic ExpressRouteCircuitSkuTier = "Basic" // ExpressRouteCircuitSkuTierLocal ... ExpressRouteCircuitSkuTierLocal ExpressRouteCircuitSkuTier = "Local" // ExpressRouteCircuitSkuTierPremium ... ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium" // ExpressRouteCircuitSkuTierStandard ... ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard" )
func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier
PossibleExpressRouteCircuitSkuTierValues returns an array of possible values for the ExpressRouteCircuitSkuTier const type.
ExpressRouteCircuitStats contains stats associated with the peering.
type ExpressRouteCircuitStats struct { autorest.Response `json:"-"` // PrimarybytesIn - The Primary BytesIn of the peering. PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"` // PrimarybytesOut - The primary BytesOut of the peering. PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"` // SecondarybytesIn - The secondary BytesIn of the peering. SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"` // SecondarybytesOut - The secondary BytesOut of the peering. SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"` }
ExpressRouteCircuitsArpTableListResult response for ListArpTable associated with the Express Route Circuits API.
type ExpressRouteCircuitsArpTableListResult struct { autorest.Response `json:"-"` // Value - A list of the ARP tables. Value *[]ExpressRouteCircuitArpTable `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ExpressRouteCircuitsClient is the network Client
type ExpressRouteCircuitsClient struct { BaseClient }
func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient
NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.
func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient
NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to the create or update express route circuit operation.
func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)
Delete deletes the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.
func (client ExpressRouteCircuitsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteCircuitsClient) 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 ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)
Get gets information about the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of express route circuit.
func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)
GetPeeringStats gets all stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.
func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
GetPeeringStatsPreparer prepares the GetPeeringStats request.
func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
GetPeeringStatsResponder handles the response to the GetPeeringStats request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) GetPeeringStatsSender(req *http.Request) (*http.Response, error)
GetPeeringStatsSender sends the GetPeeringStats request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) 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 ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)
GetStats gets all the stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.
func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
GetStatsPreparer prepares the GetStats request.
func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) GetStatsSender(req *http.Request) (*http.Response, error)
GetStatsSender sends the GetStats request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)
List gets all the express route circuits in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ExpressRouteCircuitsClient) ListAll(ctx context.Context) (result ExpressRouteCircuitListResultPage, err error)
ListAll gets all the express route circuits in a subscription.
func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCircuitsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error)
ListArpTable gets the currently advertised ARP table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListArpTablePreparer prepares the ListArpTable request.
func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)
ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCircuitsListArpTableFuture, err error)
ListArpTableSender sends the ListArpTable request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCircuitsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error)
ListRoutesTable gets the currently advertised routes table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTablePreparer prepares the ListRoutesTable request.
func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)
ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableFuture, err error)
ListRoutesTableSender sends the ListRoutesTable request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummary gets the currently advertised routes table summary associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.
func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)
ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummarySender sends the ListRoutesTableSummary request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCircuitsClient) 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.
func (client ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (result ExpressRouteCircuit, err error)
UpdateTags updates an express route circuit tags. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to update express route circuit tags.
func (client ExpressRouteCircuitsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ExpressRouteCircuitsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ExpressRouteCircuitsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ExpressRouteCircuitsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuit, error) }
func (future *ExpressRouteCircuitsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitsClient) (autorest.Response, error) }
func (future *ExpressRouteCircuitsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitsListArpTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitsListArpTableFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsArpTableListResult, error) }
func (future *ExpressRouteCircuitsListArpTableFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitsListRoutesTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitsListRoutesTableFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsRoutesTableListResult, error) }
func (future *ExpressRouteCircuitsListRoutesTableFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCircuitsListRoutesTableSummaryFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsRoutesTableSummaryListResult, error) }
func (future *ExpressRouteCircuitsListRoutesTableSummaryFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCircuitsRoutesTableListResult response for ListRoutesTable associated with the Express Route Circuits API.
type ExpressRouteCircuitsRoutesTableListResult struct { autorest.Response `json:"-"` // Value - The list of routes table. Value *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ExpressRouteCircuitsRoutesTableSummaryListResult response for ListRoutesTable associated with the Express Route Circuits API.
type ExpressRouteCircuitsRoutesTableSummaryListResult struct { autorest.Response `json:"-"` // Value - A list of the routes table. Value *[]ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ExpressRouteConnection expressRouteConnection resource.
type ExpressRouteConnection struct { autorest.Response `json:"-"` // ExpressRouteConnectionProperties - Properties of the express route connection. *ExpressRouteConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (erc ExpressRouteConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteConnection.
func (erc *ExpressRouteConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteConnection struct.
ExpressRouteConnectionID the ID of the ExpressRouteConnection.
type ExpressRouteConnectionID struct { // ID - READ-ONLY; The ID of the ExpressRouteConnection. ID *string `json:"id,omitempty"` }
func (erci ExpressRouteConnectionID) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteConnectionID.
ExpressRouteConnectionList expressRouteConnection list.
type ExpressRouteConnectionList struct { autorest.Response `json:"-"` // Value - The list of ExpressRoute connections. Value *[]ExpressRouteConnection `json:"value,omitempty"` }
ExpressRouteConnectionProperties properties of the ExpressRouteConnection subresource.
type ExpressRouteConnectionProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the express route connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ExpressRouteCircuitPeering - The ExpressRoute circuit peering. ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID `json:"expressRouteCircuitPeering,omitempty"` // AuthorizationKey - Authorization key to establish the connection. AuthorizationKey *string `json:"authorizationKey,omitempty"` // RoutingWeight - The routing weight associated to the connection. RoutingWeight *int32 `json:"routingWeight,omitempty"` // EnableInternetSecurity - Enable internet security. EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` // ExpressRouteGatewayBypass - Enable FastPath to vWan Firewall hub. ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` // RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection. RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` }
func (ercp ExpressRouteConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteConnectionProperties.
ExpressRouteConnectionsClient is the network Client
type ExpressRouteConnectionsClient struct { BaseClient }
func NewExpressRouteConnectionsClient(subscriptionID string) ExpressRouteConnectionsClient
NewExpressRouteConnectionsClient creates an instance of the ExpressRouteConnectionsClient client.
func NewExpressRouteConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteConnectionsClient
NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (result ExpressRouteConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource. putExpressRouteConnectionParameters - parameters required in an ExpressRouteConnection PUT operation.
func (client ExpressRouteConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteConnectionsClient) Delete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnectionsDeleteFuture, err error)
Delete deletes a connection to a ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource.
func (client ExpressRouteConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteConnectionsClient) 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 ExpressRouteConnectionsClient) DeleteSender(req *http.Request) (future ExpressRouteConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteConnectionsClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnection, err error)
Get gets the specified ExpressRouteConnection. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the ExpressRoute connection.
func (client ExpressRouteConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteConnectionsClient) 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 ExpressRouteConnectionsClient) List(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteConnectionList, err error)
List lists ExpressRouteConnections. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.
func (client ExpressRouteConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteConnectionsClient) ListResponder(resp *http.Response) (result ExpressRouteConnectionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteConnectionsClient) 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.
ExpressRouteConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteConnectionsClient) (ExpressRouteConnection, error) }
func (future *ExpressRouteConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteConnectionsClient) (autorest.Response, error) }
func (future *ExpressRouteConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnection expressRouteCrossConnection resource.
type ExpressRouteCrossConnection struct { autorest.Response `json:"-"` // ExpressRouteCrossConnectionProperties - Properties of the express route cross connection. *ExpressRouteCrossConnectionProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ercc ExpressRouteCrossConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnection.
func (ercc *ExpressRouteCrossConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnection struct.
ExpressRouteCrossConnectionListResult response for ListExpressRouteCrossConnection API service call.
type ExpressRouteCrossConnectionListResult struct { autorest.Response `json:"-"` // Value - A list of ExpressRouteCrossConnection resources. Value *[]ExpressRouteCrossConnection `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ercclr ExpressRouteCrossConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ercclr ExpressRouteCrossConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionListResult.
ExpressRouteCrossConnectionListResultIterator provides access to a complete listing of ExpressRouteCrossConnection values.
type ExpressRouteCrossConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteCrossConnectionListResultIterator(page ExpressRouteCrossConnectionListResultPage) ExpressRouteCrossConnectionListResultIterator
Creates a new instance of the ExpressRouteCrossConnectionListResultIterator type.
func (iter *ExpressRouteCrossConnectionListResultIterator) 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 *ExpressRouteCrossConnectionListResultIterator) 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 ExpressRouteCrossConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteCrossConnectionListResultIterator) Response() ExpressRouteCrossConnectionListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteCrossConnectionListResultIterator) Value() ExpressRouteCrossConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteCrossConnectionListResultPage contains a page of ExpressRouteCrossConnection values.
type ExpressRouteCrossConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteCrossConnectionListResultPage(cur ExpressRouteCrossConnectionListResult, getNextPage func(context.Context, ExpressRouteCrossConnectionListResult) (ExpressRouteCrossConnectionListResult, error)) ExpressRouteCrossConnectionListResultPage
Creates a new instance of the ExpressRouteCrossConnectionListResultPage type.
func (page *ExpressRouteCrossConnectionListResultPage) 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 *ExpressRouteCrossConnectionListResultPage) 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 ExpressRouteCrossConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteCrossConnectionListResultPage) Response() ExpressRouteCrossConnectionListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteCrossConnectionListResultPage) Values() []ExpressRouteCrossConnection
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteCrossConnectionPeering peering in an ExpressRoute Cross Connection resource.
type ExpressRouteCrossConnectionPeering struct { autorest.Response `json:"-"` // ExpressRouteCrossConnectionPeeringProperties - Properties of the express route cross connection peering. *ExpressRouteCrossConnectionPeeringProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (erccp ExpressRouteCrossConnectionPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeering.
func (erccp *ExpressRouteCrossConnectionPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnectionPeering struct.
ExpressRouteCrossConnectionPeeringList response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.
type ExpressRouteCrossConnectionPeeringList struct { autorest.Response `json:"-"` // Value - The peerings in an express route cross connection. Value *[]ExpressRouteCrossConnectionPeering `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erccpl ExpressRouteCrossConnectionPeeringList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (erccpl ExpressRouteCrossConnectionPeeringList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeeringList.
ExpressRouteCrossConnectionPeeringListIterator provides access to a complete listing of ExpressRouteCrossConnectionPeering values.
type ExpressRouteCrossConnectionPeeringListIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteCrossConnectionPeeringListIterator(page ExpressRouteCrossConnectionPeeringListPage) ExpressRouteCrossConnectionPeeringListIterator
Creates a new instance of the ExpressRouteCrossConnectionPeeringListIterator type.
func (iter *ExpressRouteCrossConnectionPeeringListIterator) 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 *ExpressRouteCrossConnectionPeeringListIterator) 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 ExpressRouteCrossConnectionPeeringListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteCrossConnectionPeeringListIterator) Response() ExpressRouteCrossConnectionPeeringList
Response returns the raw server response from the last page request.
func (iter ExpressRouteCrossConnectionPeeringListIterator) Value() ExpressRouteCrossConnectionPeering
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteCrossConnectionPeeringListPage contains a page of ExpressRouteCrossConnectionPeering values.
type ExpressRouteCrossConnectionPeeringListPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteCrossConnectionPeeringListPage(cur ExpressRouteCrossConnectionPeeringList, getNextPage func(context.Context, ExpressRouteCrossConnectionPeeringList) (ExpressRouteCrossConnectionPeeringList, error)) ExpressRouteCrossConnectionPeeringListPage
Creates a new instance of the ExpressRouteCrossConnectionPeeringListPage type.
func (page *ExpressRouteCrossConnectionPeeringListPage) 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 *ExpressRouteCrossConnectionPeeringListPage) 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 ExpressRouteCrossConnectionPeeringListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteCrossConnectionPeeringListPage) Response() ExpressRouteCrossConnectionPeeringList
Response returns the raw server response from the last page request.
func (page ExpressRouteCrossConnectionPeeringListPage) Values() []ExpressRouteCrossConnectionPeering
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteCrossConnectionPeeringProperties properties of express route cross connection peering.
type ExpressRouteCrossConnectionPeeringProperties struct { // PeeringType - The peering type. Possible values include: 'ExpressRoutePeeringTypeAzurePublicPeering', 'ExpressRoutePeeringTypeAzurePrivatePeering', 'ExpressRoutePeeringTypeMicrosoftPeering' PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"` // State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled' State ExpressRoutePeeringState `json:"state,omitempty"` // AzureASN - READ-ONLY; The Azure ASN. AzureASN *int32 `json:"azureASN,omitempty"` // PeerASN - The peer ASN. PeerASN *int64 `json:"peerASN,omitempty"` // PrimaryPeerAddressPrefix - The primary address prefix. PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` // SecondaryPeerAddressPrefix - The secondary address prefix. SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` // PrimaryAzurePort - READ-ONLY; The primary port. PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"` // SecondaryAzurePort - READ-ONLY; The secondary port. SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"` // SharedKey - The shared key. SharedKey *string `json:"sharedKey,omitempty"` // VlanID - The VLAN ID. VlanID *int32 `json:"vlanId,omitempty"` // MicrosoftPeeringConfig - The Microsoft peering configuration. MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route cross connection peering resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // GatewayManagerEtag - The GatewayManager Etag. GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` // LastModifiedBy - READ-ONLY; Who was the last to modify the peering. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Ipv6PeeringConfig - The IPv6 peering configuration. Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"` }
func (erccpp ExpressRouteCrossConnectionPeeringProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeeringProperties.
ExpressRouteCrossConnectionPeeringsClient is the network Client
type ExpressRouteCrossConnectionPeeringsClient struct { BaseClient }
func NewExpressRouteCrossConnectionPeeringsClient(subscriptionID string) ExpressRouteCrossConnectionPeeringsClient
NewExpressRouteCrossConnectionPeeringsClient creates an instance of the ExpressRouteCrossConnectionPeeringsClient client.
func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionPeeringsClient
NewExpressRouteCrossConnectionPeeringsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (result ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a peering in the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update ExpressRouteCrossConnection peering operation.
func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCrossConnectionPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionPeeringsClient) Delete(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeeringsDeleteFuture, err error)
Delete deletes the specified peering from the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.
func (client ExpressRouteCrossConnectionPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteCrossConnectionPeeringsClient) 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 ExpressRouteCrossConnectionPeeringsClient) DeleteSender(req *http.Request) (future ExpressRouteCrossConnectionPeeringsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionPeeringsClient) Get(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeering, err error)
Get gets the specified peering for the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.
func (client ExpressRouteCrossConnectionPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCrossConnectionPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCrossConnectionPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionPeeringsClient) 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 ExpressRouteCrossConnectionPeeringsClient) List(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListPage, err error)
List gets all peerings in a specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection.
func (client ExpressRouteCrossConnectionPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCrossConnectionPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCrossConnectionPeeringsClient) ListResponder(resp *http.Response) (result ExpressRouteCrossConnectionPeeringList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionPeeringsClient) 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.
ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionPeeringsClient) (ExpressRouteCrossConnectionPeering, error) }
func (future *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionPeeringsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionPeeringsClient) (autorest.Response, error) }
func (future *ExpressRouteCrossConnectionPeeringsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionProperties properties of ExpressRouteCrossConnection.
type ExpressRouteCrossConnectionProperties struct { // PrimaryAzurePort - READ-ONLY; The name of the primary port. PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"` // SecondaryAzurePort - READ-ONLY; The name of the secondary port. SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"` // STag - READ-ONLY; The identifier of the circuit traffic. STag *int32 `json:"sTag,omitempty"` // PeeringLocation - READ-ONLY; The peering location of the ExpressRoute circuit. PeeringLocation *string `json:"peeringLocation,omitempty"` // BandwidthInMbps - READ-ONLY; The circuit bandwidth In Mbps. BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"` // ExpressRouteCircuit - The ExpressRouteCircuit. ExpressRouteCircuit *ExpressRouteCircuitReference `json:"expressRouteCircuit,omitempty"` // ServiceProviderProvisioningState - The provisioning state of the circuit in the connectivity provider system. Possible values include: 'ServiceProviderProvisioningStateNotProvisioned', 'ServiceProviderProvisioningStateProvisioning', 'ServiceProviderProvisioningStateProvisioned', 'ServiceProviderProvisioningStateDeprovisioning' ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"` // ServiceProviderNotes - Additional read only notes set by the connectivity provider. ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route cross connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Peerings - The list of peerings. Peerings *[]ExpressRouteCrossConnectionPeering `json:"peerings,omitempty"` }
func (erccp ExpressRouteCrossConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionProperties.
ExpressRouteCrossConnectionRoutesTableSummary the routes table associated with the ExpressRouteCircuit.
type ExpressRouteCrossConnectionRoutesTableSummary struct { // Neighbor - IP address of Neighbor router. Neighbor *string `json:"neighbor,omitempty"` // Asn - Autonomous system number. Asn *int32 `json:"asn,omitempty"` // UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state. UpDown *string `json:"upDown,omitempty"` // StateOrPrefixesReceived - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group. StateOrPrefixesReceived *string `json:"stateOrPrefixesReceived,omitempty"` }
ExpressRouteCrossConnectionsClient is the network Client
type ExpressRouteCrossConnectionsClient struct { BaseClient }
func NewExpressRouteCrossConnectionsClient(subscriptionID string) ExpressRouteCrossConnectionsClient
NewExpressRouteCrossConnectionsClient creates an instance of the ExpressRouteCrossConnectionsClient client.
func NewExpressRouteCrossConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionsClient
NewExpressRouteCrossConnectionsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteCrossConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, parameters ExpressRouteCrossConnection) (result ExpressRouteCrossConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate update the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. parameters - parameters supplied to the update express route crossConnection operation.
func (client ExpressRouteCrossConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, parameters ExpressRouteCrossConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteCrossConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCrossConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionsClient) Get(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnection, err error)
Get gets details about the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group (peering location of the circuit). crossConnectionName - the name of the ExpressRouteCrossConnection (service key of the circuit).
func (client ExpressRouteCrossConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteCrossConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) 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 ExpressRouteCrossConnectionsClient) List(ctx context.Context) (result ExpressRouteCrossConnectionListResultPage, err error)
List retrieves all the ExpressRouteCrossConnections in a subscription.
func (client ExpressRouteCrossConnectionsClient) ListArpTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListArpTableFuture, err error)
ListArpTable gets the currently advertised ARP table associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCrossConnectionsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)
ListArpTablePreparer prepares the ListArpTable request.
func (client ExpressRouteCrossConnectionsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)
ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCrossConnectionsListArpTableFuture, err error)
ListArpTableSender sends the ListArpTable request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRouteCrossConnectionListResultPage, err error)
ListByResourceGroup retrieves all the ExpressRouteCrossConnections in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCrossConnectionListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRouteCrossConnectionListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionsClient) ListComplete(ctx context.Context) (result ExpressRouteCrossConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteCrossConnectionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteCrossConnectionsClient) ListResponder(resp *http.Response) (result ExpressRouteCrossConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListRoutesTableFuture, err error)
ListRoutesTable gets the currently advertised routes table associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTablePreparer prepares the ListRoutesTable request.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)
ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCrossConnectionsListRoutesTableFuture, err error)
ListRoutesTableSender sends the ListRoutesTable request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummary gets the route table summary associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCrossConnectionsRoutesTableSummaryListResult, err error)
ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCrossConnectionsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummarySender sends the ListRoutesTableSummary request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteCrossConnectionsClient) 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.
func (client ExpressRouteCrossConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters TagsObject) (result ExpressRouteCrossConnection, err error)
UpdateTags updates an express route cross connection tags. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the cross connection. crossConnectionParameters - parameters supplied to update express route cross connection tags.
func (client ExpressRouteCrossConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ExpressRouteCrossConnectionsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ExpressRouteCrossConnectionsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ExpressRouteCrossConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionsClient) (ExpressRouteCrossConnection, error) }
func (future *ExpressRouteCrossConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionsListArpTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionsListArpTableFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionsClient) (ExpressRouteCircuitsArpTableListResult, error) }
func (future *ExpressRouteCrossConnectionsListArpTableFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionsListRoutesTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionsListRoutesTableFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionsClient) (ExpressRouteCircuitsRoutesTableListResult, error) }
func (future *ExpressRouteCrossConnectionsListRoutesTableFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteCrossConnectionsListRoutesTableSummaryFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteCrossConnectionsClient) (ExpressRouteCrossConnectionsRoutesTableSummaryListResult, error) }
func (future *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteCrossConnectionsRoutesTableSummaryListResult response for ListRoutesTable associated with the Express Route Cross Connections.
type ExpressRouteCrossConnectionsRoutesTableSummaryListResult struct { autorest.Response `json:"-"` // Value - A list of the routes table. Value *[]ExpressRouteCrossConnectionRoutesTableSummary `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erccrtslr ExpressRouteCrossConnectionsRoutesTableSummaryListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionsRoutesTableSummaryListResult.
ExpressRouteGateway expressRoute gateway resource.
type ExpressRouteGateway struct { autorest.Response `json:"-"` // ExpressRouteGatewayProperties - Properties of the express route gateway. *ExpressRouteGatewayProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (erg ExpressRouteGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteGateway.
func (erg *ExpressRouteGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteGateway struct.
ExpressRouteGatewayList list of ExpressRoute gateways.
type ExpressRouteGatewayList struct { autorest.Response `json:"-"` // Value - List of ExpressRoute gateways. Value *[]ExpressRouteGateway `json:"value,omitempty"` }
ExpressRouteGatewayProperties expressRoute gateway resource properties.
type ExpressRouteGatewayProperties struct { // AutoScaleConfiguration - Configuration for auto scaling. AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` // ExpressRouteConnections - List of ExpressRoute connections to the ExpressRoute gateway. ExpressRouteConnections *[]ExpressRouteConnection `json:"expressRouteConnections,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VirtualHub - The Virtual Hub where the ExpressRoute gateway is or will be deployed. VirtualHub *VirtualHubID `json:"virtualHub,omitempty"` }
func (ergp ExpressRouteGatewayProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteGatewayProperties.
ExpressRouteGatewayPropertiesAutoScaleConfiguration configuration for auto scaling.
type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct { // Bounds - Minimum and maximum number of scale units to deploy. Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds `json:"bounds,omitempty"` }
ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds minimum and maximum number of scale units to deploy.
type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds struct { // Min - Minimum number of scale units deployed for ExpressRoute gateway. Min *int32 `json:"min,omitempty"` // Max - Maximum number of scale units deployed for ExpressRoute gateway. Max *int32 `json:"max,omitempty"` }
ExpressRouteGatewaysClient is the network Client
type ExpressRouteGatewaysClient struct { BaseClient }
func NewExpressRouteGatewaysClient(subscriptionID string) ExpressRouteGatewaysClient
NewExpressRouteGatewaysClient creates an instance of the ExpressRouteGatewaysClient client.
func NewExpressRouteGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteGatewaysClient
NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, putExpressRouteGatewayParameters ExpressRouteGateway) (result ExpressRouteGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a ExpressRoute gateway in a specified resource group. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. putExpressRouteGatewayParameters - parameters required in an ExpressRoute gateway PUT operation.
func (client ExpressRouteGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, putExpressRouteGatewayParameters ExpressRouteGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRouteGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRouteGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteGatewaysClient) Delete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteGatewaysDeleteFuture, err error)
Delete deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.
func (client ExpressRouteGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRouteGatewaysClient) 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 ExpressRouteGatewaysClient) DeleteSender(req *http.Request) (future ExpressRouteGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteGatewaysClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteGateway, err error)
Get fetches the details of a ExpressRoute gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.
func (client ExpressRouteGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteGatewaysClient) GetResponder(resp *http.Response) (result ExpressRouteGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteGatewaysClient) 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 ExpressRouteGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRouteGatewayList, err error)
ListByResourceGroup lists ExpressRoute gateways in a given resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ExpressRouteGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ExpressRouteGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRouteGatewayList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ExpressRouteGatewaysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteGatewaysClient) ListBySubscription(ctx context.Context) (result ExpressRouteGatewayList, err error)
ListBySubscription lists ExpressRoute gateways under a given subscription.
func (client ExpressRouteGatewaysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client ExpressRouteGatewaysClient) ListBySubscriptionResponder(resp *http.Response) (result ExpressRouteGatewayList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (client ExpressRouteGatewaysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (client ExpressRouteGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, expressRouteGatewayParameters TagsObject) (result ExpressRouteGatewaysUpdateTagsFuture, err error)
UpdateTags updates express route gateway tags. Parameters: resourceGroupName - the resource group name of the ExpressRouteGateway. expressRouteGatewayName - the name of the gateway. expressRouteGatewayParameters - parameters supplied to update a virtual wan express route gateway tags.
func (client ExpressRouteGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, expressRouteGatewayParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ExpressRouteGatewaysClient) UpdateTagsResponder(resp *http.Response) (result ExpressRouteGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ExpressRouteGatewaysClient) UpdateTagsSender(req *http.Request) (future ExpressRouteGatewaysUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ExpressRouteGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteGatewaysClient) (ExpressRouteGateway, error) }
func (future *ExpressRouteGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteGatewaysClient) (autorest.Response, error) }
func (future *ExpressRouteGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRouteGatewaysUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRouteGatewaysClient) (ExpressRouteGateway, error) }
func (future *ExpressRouteGatewaysUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRouteLink expressRouteLink child resource definition.
type ExpressRouteLink struct { autorest.Response `json:"-"` // ExpressRouteLinkPropertiesFormat - ExpressRouteLink properties. *ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"` // Name - Name of child port resource that is unique among child port resources of the parent. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (erl ExpressRouteLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteLink.
func (erl *ExpressRouteLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteLink struct.
ExpressRouteLinkAdminState enumerates the values for express route link admin state.
type ExpressRouteLinkAdminState string
const ( // ExpressRouteLinkAdminStateDisabled ... ExpressRouteLinkAdminStateDisabled ExpressRouteLinkAdminState = "Disabled" // ExpressRouteLinkAdminStateEnabled ... ExpressRouteLinkAdminStateEnabled ExpressRouteLinkAdminState = "Enabled" )
func PossibleExpressRouteLinkAdminStateValues() []ExpressRouteLinkAdminState
PossibleExpressRouteLinkAdminStateValues returns an array of possible values for the ExpressRouteLinkAdminState const type.
ExpressRouteLinkConnectorType enumerates the values for express route link connector type.
type ExpressRouteLinkConnectorType string
const ( // ExpressRouteLinkConnectorTypeLC ... ExpressRouteLinkConnectorTypeLC ExpressRouteLinkConnectorType = "LC" // ExpressRouteLinkConnectorTypeSC ... ExpressRouteLinkConnectorTypeSC ExpressRouteLinkConnectorType = "SC" )
func PossibleExpressRouteLinkConnectorTypeValues() []ExpressRouteLinkConnectorType
PossibleExpressRouteLinkConnectorTypeValues returns an array of possible values for the ExpressRouteLinkConnectorType const type.
ExpressRouteLinkListResult response for ListExpressRouteLinks API service call.
type ExpressRouteLinkListResult struct { autorest.Response `json:"-"` // Value - The list of ExpressRouteLink sub-resources. Value *[]ExpressRouteLink `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erllr ExpressRouteLinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRouteLinkListResultIterator provides access to a complete listing of ExpressRouteLink values.
type ExpressRouteLinkListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteLinkListResultIterator(page ExpressRouteLinkListResultPage) ExpressRouteLinkListResultIterator
Creates a new instance of the ExpressRouteLinkListResultIterator type.
func (iter *ExpressRouteLinkListResultIterator) 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 *ExpressRouteLinkListResultIterator) 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 ExpressRouteLinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteLinkListResultIterator) Response() ExpressRouteLinkListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteLinkListResultIterator) Value() ExpressRouteLink
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteLinkListResultPage contains a page of ExpressRouteLink values.
type ExpressRouteLinkListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteLinkListResultPage(cur ExpressRouteLinkListResult, getNextPage func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error)) ExpressRouteLinkListResultPage
Creates a new instance of the ExpressRouteLinkListResultPage type.
func (page *ExpressRouteLinkListResultPage) 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 *ExpressRouteLinkListResultPage) 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 ExpressRouteLinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteLinkListResultPage) Response() ExpressRouteLinkListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteLinkListResultPage) Values() []ExpressRouteLink
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteLinkMacSecCipher enumerates the values for express route link mac sec cipher.
type ExpressRouteLinkMacSecCipher string
const ( // ExpressRouteLinkMacSecCipherGcmAes128 ... ExpressRouteLinkMacSecCipherGcmAes128 ExpressRouteLinkMacSecCipher = "GcmAes128" // ExpressRouteLinkMacSecCipherGcmAes256 ... ExpressRouteLinkMacSecCipherGcmAes256 ExpressRouteLinkMacSecCipher = "GcmAes256" // ExpressRouteLinkMacSecCipherGcmAesXpn128 ... ExpressRouteLinkMacSecCipherGcmAesXpn128 ExpressRouteLinkMacSecCipher = "GcmAesXpn128" // ExpressRouteLinkMacSecCipherGcmAesXpn256 ... ExpressRouteLinkMacSecCipherGcmAesXpn256 ExpressRouteLinkMacSecCipher = "GcmAesXpn256" )
func PossibleExpressRouteLinkMacSecCipherValues() []ExpressRouteLinkMacSecCipher
PossibleExpressRouteLinkMacSecCipherValues returns an array of possible values for the ExpressRouteLinkMacSecCipher const type.
ExpressRouteLinkMacSecConfig expressRouteLink Mac Security Configuration.
type ExpressRouteLinkMacSecConfig struct { // CknSecretIdentifier - Keyvault Secret Identifier URL containing Mac security CKN key. CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"` // CakSecretIdentifier - Keyvault Secret Identifier URL containing Mac security CAK key. CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"` // Cipher - Mac security cipher. Possible values include: 'ExpressRouteLinkMacSecCipherGcmAes256', 'ExpressRouteLinkMacSecCipherGcmAes128', 'ExpressRouteLinkMacSecCipherGcmAesXpn128', 'ExpressRouteLinkMacSecCipherGcmAesXpn256' Cipher ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"` // SciState - Sci mode enabled/disabled. Possible values include: 'ExpressRouteLinkMacSecSciStateDisabled', 'ExpressRouteLinkMacSecSciStateEnabled' SciState ExpressRouteLinkMacSecSciState `json:"sciState,omitempty"` }
ExpressRouteLinkMacSecSciState enumerates the values for express route link mac sec sci state.
type ExpressRouteLinkMacSecSciState string
const ( // ExpressRouteLinkMacSecSciStateDisabled ... ExpressRouteLinkMacSecSciStateDisabled ExpressRouteLinkMacSecSciState = "Disabled" // ExpressRouteLinkMacSecSciStateEnabled ... ExpressRouteLinkMacSecSciStateEnabled ExpressRouteLinkMacSecSciState = "Enabled" )
func PossibleExpressRouteLinkMacSecSciStateValues() []ExpressRouteLinkMacSecSciState
PossibleExpressRouteLinkMacSecSciStateValues returns an array of possible values for the ExpressRouteLinkMacSecSciState const type.
ExpressRouteLinkPropertiesFormat properties specific to ExpressRouteLink resources.
type ExpressRouteLinkPropertiesFormat struct { // RouterName - READ-ONLY; Name of Azure router associated with physical port. RouterName *string `json:"routerName,omitempty"` // InterfaceName - READ-ONLY; Name of Azure router interface. InterfaceName *string `json:"interfaceName,omitempty"` // PatchPanelID - READ-ONLY; Mapping between physical port to patch panel port. PatchPanelID *string `json:"patchPanelId,omitempty"` // RackID - READ-ONLY; Mapping of physical patch panel to rack. RackID *string `json:"rackId,omitempty"` // ConnectorType - READ-ONLY; Physical fiber port type. Possible values include: 'ExpressRouteLinkConnectorTypeLC', 'ExpressRouteLinkConnectorTypeSC' ConnectorType ExpressRouteLinkConnectorType `json:"connectorType,omitempty"` // AdminState - Administrative state of the physical port. Possible values include: 'ExpressRouteLinkAdminStateEnabled', 'ExpressRouteLinkAdminStateDisabled' AdminState ExpressRouteLinkAdminState `json:"adminState,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route link resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // MacSecConfig - MacSec configuration. MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"` }
func (erlpf ExpressRouteLinkPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteLinkPropertiesFormat.
ExpressRouteLinksClient is the network Client
type ExpressRouteLinksClient struct { BaseClient }
func NewExpressRouteLinksClient(subscriptionID string) ExpressRouteLinksClient
NewExpressRouteLinksClient creates an instance of the ExpressRouteLinksClient client.
func NewExpressRouteLinksClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteLinksClient
NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteLinksClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string) (result ExpressRouteLink, err error)
Get retrieves the specified ExpressRouteLink resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. linkName - the name of the ExpressRouteLink resource.
func (client ExpressRouteLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRouteLinksClient) GetResponder(resp *http.Response) (result ExpressRouteLink, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRouteLinksClient) 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 ExpressRouteLinksClient) List(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRouteLinkListResultPage, err error)
List retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource.
func (client ExpressRouteLinksClient) ListComplete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRouteLinkListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteLinksClient) ListResponder(resp *http.Response) (result ExpressRouteLinkListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteLinksClient) 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.
ExpressRoutePeeringState enumerates the values for express route peering state.
type ExpressRoutePeeringState string
const ( // ExpressRoutePeeringStateDisabled ... ExpressRoutePeeringStateDisabled ExpressRoutePeeringState = "Disabled" // ExpressRoutePeeringStateEnabled ... ExpressRoutePeeringStateEnabled ExpressRoutePeeringState = "Enabled" )
func PossibleExpressRoutePeeringStateValues() []ExpressRoutePeeringState
PossibleExpressRoutePeeringStateValues returns an array of possible values for the ExpressRoutePeeringState const type.
ExpressRoutePeeringType enumerates the values for express route peering type.
type ExpressRoutePeeringType string
const ( // ExpressRoutePeeringTypeAzurePrivatePeering ... ExpressRoutePeeringTypeAzurePrivatePeering ExpressRoutePeeringType = "AzurePrivatePeering" // ExpressRoutePeeringTypeAzurePublicPeering ... ExpressRoutePeeringTypeAzurePublicPeering ExpressRoutePeeringType = "AzurePublicPeering" // ExpressRoutePeeringTypeMicrosoftPeering ... ExpressRoutePeeringTypeMicrosoftPeering ExpressRoutePeeringType = "MicrosoftPeering" )
func PossibleExpressRoutePeeringTypeValues() []ExpressRoutePeeringType
PossibleExpressRoutePeeringTypeValues returns an array of possible values for the ExpressRoutePeeringType const type.
ExpressRoutePort expressRoutePort resource definition.
type ExpressRoutePort struct { autorest.Response `json:"-"` // ExpressRoutePortPropertiesFormat - ExpressRoutePort properties. *ExpressRoutePortPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Identity - The identity of ExpressRoutePort, if configured. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (erp ExpressRoutePort) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePort.
func (erp *ExpressRoutePort) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRoutePort struct.
ExpressRoutePortAuthorization expressRoutePort Authorization resource definition.
type ExpressRoutePortAuthorization struct { autorest.Response `json:"-"` // ExpressRoutePortAuthorizationPropertiesFormat - ExpressRoutePort properties. *ExpressRoutePortAuthorizationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (erpa ExpressRoutePortAuthorization) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortAuthorization.
func (erpa *ExpressRoutePortAuthorization) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRoutePortAuthorization struct.
ExpressRoutePortAuthorizationListResult response for ListExpressRoutePortAuthorizations API service call.
type ExpressRoutePortAuthorizationListResult struct { autorest.Response `json:"-"` // Value - The authorizations in an ExpressRoute Port. Value *[]ExpressRoutePortAuthorization `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erpalr ExpressRoutePortAuthorizationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRoutePortAuthorizationListResultIterator provides access to a complete listing of ExpressRoutePortAuthorization values.
type ExpressRoutePortAuthorizationListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortAuthorizationListResultIterator(page ExpressRoutePortAuthorizationListResultPage) ExpressRoutePortAuthorizationListResultIterator
Creates a new instance of the ExpressRoutePortAuthorizationListResultIterator type.
func (iter *ExpressRoutePortAuthorizationListResultIterator) 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 *ExpressRoutePortAuthorizationListResultIterator) 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 ExpressRoutePortAuthorizationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRoutePortAuthorizationListResultIterator) Response() ExpressRoutePortAuthorizationListResult
Response returns the raw server response from the last page request.
func (iter ExpressRoutePortAuthorizationListResultIterator) Value() ExpressRoutePortAuthorization
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRoutePortAuthorizationListResultPage contains a page of ExpressRoutePortAuthorization values.
type ExpressRoutePortAuthorizationListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortAuthorizationListResultPage(cur ExpressRoutePortAuthorizationListResult, getNextPage func(context.Context, ExpressRoutePortAuthorizationListResult) (ExpressRoutePortAuthorizationListResult, error)) ExpressRoutePortAuthorizationListResultPage
Creates a new instance of the ExpressRoutePortAuthorizationListResultPage type.
func (page *ExpressRoutePortAuthorizationListResultPage) 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 *ExpressRoutePortAuthorizationListResultPage) 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 ExpressRoutePortAuthorizationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRoutePortAuthorizationListResultPage) Response() ExpressRoutePortAuthorizationListResult
Response returns the raw server response from the last page request.
func (page ExpressRoutePortAuthorizationListResultPage) Values() []ExpressRoutePortAuthorization
Values returns the slice of values for the current page or nil if there are no values.
ExpressRoutePortAuthorizationPropertiesFormat properties of ExpressRoutePort Authorization.
type ExpressRoutePortAuthorizationPropertiesFormat struct { // AuthorizationKey - READ-ONLY; The authorization key. AuthorizationKey *string `json:"authorizationKey,omitempty"` // AuthorizationUseStatus - READ-ONLY; The authorization use status. Possible values include: 'ExpressRoutePortAuthorizationUseStatusAvailable', 'ExpressRoutePortAuthorizationUseStatusInUse' AuthorizationUseStatus ExpressRoutePortAuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` // CircuitResourceURI - READ-ONLY; The reference to the ExpressRoute circuit resource using the authorization. CircuitResourceURI *string `json:"circuitResourceUri,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the authorization resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (erpapf ExpressRoutePortAuthorizationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortAuthorizationPropertiesFormat.
ExpressRoutePortAuthorizationUseStatus enumerates the values for express route port authorization use status.
type ExpressRoutePortAuthorizationUseStatus string
const ( // ExpressRoutePortAuthorizationUseStatusAvailable ... ExpressRoutePortAuthorizationUseStatusAvailable ExpressRoutePortAuthorizationUseStatus = "Available" // ExpressRoutePortAuthorizationUseStatusInUse ... ExpressRoutePortAuthorizationUseStatusInUse ExpressRoutePortAuthorizationUseStatus = "InUse" )
func PossibleExpressRoutePortAuthorizationUseStatusValues() []ExpressRoutePortAuthorizationUseStatus
PossibleExpressRoutePortAuthorizationUseStatusValues returns an array of possible values for the ExpressRoutePortAuthorizationUseStatus const type.
ExpressRoutePortAuthorizationsClient is the network Client
type ExpressRoutePortAuthorizationsClient struct { BaseClient }
func NewExpressRoutePortAuthorizationsClient(subscriptionID string) ExpressRoutePortAuthorizationsClient
NewExpressRoutePortAuthorizationsClient creates an instance of the ExpressRoutePortAuthorizationsClient client.
func NewExpressRoutePortAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortAuthorizationsClient
NewExpressRoutePortAuthorizationsClientWithBaseURI creates an instance of the ExpressRoutePortAuthorizationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRoutePortAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string, authorizationParameters ExpressRoutePortAuthorization) (result ExpressRoutePortAuthorizationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an authorization in the specified express route port. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the express route port. authorizationName - the name of the authorization. authorizationParameters - parameters supplied to the create or update express route port authorization operation.
func (client ExpressRoutePortAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string, authorizationParameters ExpressRoutePortAuthorization) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRoutePortAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRoutePortAuthorization, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRoutePortAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRoutePortAuthorizationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string) (result ExpressRoutePortAuthorizationsDeleteFuture, err error)
Delete deletes the specified authorization from the specified express route port. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the express route port. authorizationName - the name of the authorization.
func (client ExpressRoutePortAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRoutePortAuthorizationsClient) 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 ExpressRoutePortAuthorizationsClient) DeleteSender(req *http.Request) (future ExpressRoutePortAuthorizationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string) (result ExpressRoutePortAuthorization, err error)
Get gets the specified authorization from the specified express route port. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the express route port. authorizationName - the name of the authorization.
func (client ExpressRoutePortAuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, authorizationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRoutePortAuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRoutePortAuthorization, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRoutePortAuthorizationsClient) 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 ExpressRoutePortAuthorizationsClient) List(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePortAuthorizationListResultPage, err error)
List gets all authorizations in an express route port. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the express route port.
func (client ExpressRoutePortAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePortAuthorizationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRoutePortAuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRoutePortAuthorizationsClient) ListResponder(resp *http.Response) (result ExpressRoutePortAuthorizationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRoutePortAuthorizationsClient) 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.
ExpressRoutePortAuthorizationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRoutePortAuthorizationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRoutePortAuthorizationsClient) (ExpressRoutePortAuthorization, error) }
func (future *ExpressRoutePortAuthorizationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRoutePortAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRoutePortAuthorizationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRoutePortAuthorizationsClient) (autorest.Response, error) }
func (future *ExpressRoutePortAuthorizationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRoutePortListResult response for ListExpressRoutePorts API service call.
type ExpressRoutePortListResult struct { autorest.Response `json:"-"` // Value - A list of ExpressRoutePort resources. Value *[]ExpressRoutePort `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erplr ExpressRoutePortListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRoutePortListResultIterator provides access to a complete listing of ExpressRoutePort values.
type ExpressRoutePortListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortListResultIterator(page ExpressRoutePortListResultPage) ExpressRoutePortListResultIterator
Creates a new instance of the ExpressRoutePortListResultIterator type.
func (iter *ExpressRoutePortListResultIterator) 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 *ExpressRoutePortListResultIterator) 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 ExpressRoutePortListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRoutePortListResultIterator) Response() ExpressRoutePortListResult
Response returns the raw server response from the last page request.
func (iter ExpressRoutePortListResultIterator) Value() ExpressRoutePort
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRoutePortListResultPage contains a page of ExpressRoutePort values.
type ExpressRoutePortListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortListResultPage(cur ExpressRoutePortListResult, getNextPage func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error)) ExpressRoutePortListResultPage
Creates a new instance of the ExpressRoutePortListResultPage type.
func (page *ExpressRoutePortListResultPage) 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 *ExpressRoutePortListResultPage) 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 ExpressRoutePortListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRoutePortListResultPage) Response() ExpressRoutePortListResult
Response returns the raw server response from the last page request.
func (page ExpressRoutePortListResultPage) Values() []ExpressRoutePort
Values returns the slice of values for the current page or nil if there are no values.
ExpressRoutePortPropertiesFormat properties specific to ExpressRoutePort resources.
type ExpressRoutePortPropertiesFormat struct { // PeeringLocation - The name of the peering location that the ExpressRoutePort is mapped to physically. PeeringLocation *string `json:"peeringLocation,omitempty"` // BandwidthInGbps - Bandwidth of procured ports in Gbps. BandwidthInGbps *int32 `json:"bandwidthInGbps,omitempty"` // ProvisionedBandwidthInGbps - READ-ONLY; Aggregate Gbps of associated circuit bandwidths. ProvisionedBandwidthInGbps *float64 `json:"provisionedBandwidthInGbps,omitempty"` // Mtu - READ-ONLY; Maximum transmission unit of the physical port pair(s). Mtu *string `json:"mtu,omitempty"` // Encapsulation - Encapsulation method on physical ports. Possible values include: 'ExpressRoutePortsEncapsulationDot1Q', 'ExpressRoutePortsEncapsulationQinQ' Encapsulation ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"` // EtherType - READ-ONLY; Ether type of the physical port. EtherType *string `json:"etherType,omitempty"` // AllocationDate - READ-ONLY; Date of the physical port allocation to be used in Letter of Authorization. AllocationDate *string `json:"allocationDate,omitempty"` // Links - The set of physical links of the ExpressRoutePort resource. Links *[]ExpressRouteLink `json:"links,omitempty"` // Circuits - READ-ONLY; Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. Circuits *[]SubResource `json:"circuits,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route port resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the express route port resource. ResourceGUID *string `json:"resourceGuid,omitempty"` }
func (erppf ExpressRoutePortPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortPropertiesFormat.
ExpressRoutePortsClient is the network Client
type ExpressRoutePortsClient struct { BaseClient }
func NewExpressRoutePortsClient(subscriptionID string) ExpressRoutePortsClient
NewExpressRoutePortsClient creates an instance of the ExpressRoutePortsClient client.
func NewExpressRoutePortsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsClient
NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRoutePortsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters ExpressRoutePort) (result ExpressRoutePortsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. parameters - parameters supplied to the create ExpressRoutePort operation.
func (client ExpressRoutePortsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters ExpressRoutePort) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ExpressRoutePortsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRoutePort, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRoutePortsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortsClient) Delete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePortsDeleteFuture, err error)
Delete deletes the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource.
func (client ExpressRoutePortsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExpressRoutePortsClient) 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 ExpressRoutePortsClient) DeleteSender(req *http.Request) (future ExpressRoutePortsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortsClient) GenerateLOA(ctx context.Context, resourceGroupName string, expressRoutePortName string, request GenerateExpressRoutePortsLOARequest) (result GenerateExpressRoutePortsLOAResult, err error)
GenerateLOA generate a letter of authorization for the requested ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of ExpressRoutePort. request - request parameters supplied to generate a letter of authorization.
func (client ExpressRoutePortsClient) GenerateLOAPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, request GenerateExpressRoutePortsLOARequest) (*http.Request, error)
GenerateLOAPreparer prepares the GenerateLOA request.
func (client ExpressRoutePortsClient) GenerateLOAResponder(resp *http.Response) (result GenerateExpressRoutePortsLOAResult, err error)
GenerateLOAResponder handles the response to the GenerateLOA request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) GenerateLOASender(req *http.Request) (*http.Response, error)
GenerateLOASender sends the GenerateLOA request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortsClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePort, err error)
Get retrieves the requested ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of ExpressRoutePort.
func (client ExpressRoutePortsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRoutePortsClient) GetResponder(resp *http.Response) (result ExpressRoutePort, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) 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 ExpressRoutePortsClient) List(ctx context.Context) (result ExpressRoutePortListResultPage, err error)
List list all the ExpressRoutePort resources in the specified subscription.
func (client ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRoutePortListResultPage, err error)
ListByResourceGroup list all the ExpressRoutePort resources in the specified resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ExpressRoutePortsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ExpressRoutePortListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRoutePortsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ExpressRoutePortsClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRoutePortListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client ExpressRoutePortsClient) ListComplete(ctx context.Context) (result ExpressRoutePortListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRoutePortsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRoutePortsClient) ListResponder(resp *http.Response) (result ExpressRoutePortListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) 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.
func (client ExpressRoutePortsClient) UpdateTags(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters TagsObject) (result ExpressRoutePort, err error)
UpdateTags update ExpressRoutePort tags. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. parameters - parameters supplied to update ExpressRoutePort resource tags.
func (client ExpressRoutePortsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ExpressRoutePortsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRoutePort, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ExpressRoutePortsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ExpressRoutePortsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRoutePortsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRoutePortsClient) (ExpressRoutePort, error) }
func (future *ExpressRoutePortsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRoutePortsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ExpressRoutePortsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ExpressRoutePortsClient) (autorest.Response, error) }
func (future *ExpressRoutePortsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ExpressRoutePortsEncapsulation enumerates the values for express route ports encapsulation.
type ExpressRoutePortsEncapsulation string
const ( // ExpressRoutePortsEncapsulationDot1Q ... ExpressRoutePortsEncapsulationDot1Q ExpressRoutePortsEncapsulation = "Dot1Q" // ExpressRoutePortsEncapsulationQinQ ... ExpressRoutePortsEncapsulationQinQ ExpressRoutePortsEncapsulation = "QinQ" )
func PossibleExpressRoutePortsEncapsulationValues() []ExpressRoutePortsEncapsulation
PossibleExpressRoutePortsEncapsulationValues returns an array of possible values for the ExpressRoutePortsEncapsulation const type.
ExpressRoutePortsLocation definition of the ExpressRoutePorts peering location resource.
type ExpressRoutePortsLocation struct { autorest.Response `json:"-"` // ExpressRoutePortsLocationPropertiesFormat - ExpressRoutePort peering location properties. *ExpressRoutePortsLocationPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (erpl ExpressRoutePortsLocation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortsLocation.
func (erpl *ExpressRoutePortsLocation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRoutePortsLocation struct.
ExpressRoutePortsLocationBandwidths real-time inventory of available ExpressRoute port bandwidths.
type ExpressRoutePortsLocationBandwidths struct { // OfferName - READ-ONLY; Bandwidth descriptive name. OfferName *string `json:"offerName,omitempty"` // ValueInGbps - READ-ONLY; Bandwidth value in Gbps. ValueInGbps *int32 `json:"valueInGbps,omitempty"` }
func (erplb ExpressRoutePortsLocationBandwidths) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortsLocationBandwidths.
ExpressRoutePortsLocationListResult response for ListExpressRoutePortsLocations API service call.
type ExpressRoutePortsLocationListResult struct { autorest.Response `json:"-"` // Value - The list of all ExpressRoutePort peering locations. Value *[]ExpressRoutePortsLocation `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (erpllr ExpressRoutePortsLocationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRoutePortsLocationListResultIterator provides access to a complete listing of ExpressRoutePortsLocation values.
type ExpressRoutePortsLocationListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortsLocationListResultIterator(page ExpressRoutePortsLocationListResultPage) ExpressRoutePortsLocationListResultIterator
Creates a new instance of the ExpressRoutePortsLocationListResultIterator type.
func (iter *ExpressRoutePortsLocationListResultIterator) 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 *ExpressRoutePortsLocationListResultIterator) 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 ExpressRoutePortsLocationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRoutePortsLocationListResultIterator) Response() ExpressRoutePortsLocationListResult
Response returns the raw server response from the last page request.
func (iter ExpressRoutePortsLocationListResultIterator) Value() ExpressRoutePortsLocation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRoutePortsLocationListResultPage contains a page of ExpressRoutePortsLocation values.
type ExpressRoutePortsLocationListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRoutePortsLocationListResultPage(cur ExpressRoutePortsLocationListResult, getNextPage func(context.Context, ExpressRoutePortsLocationListResult) (ExpressRoutePortsLocationListResult, error)) ExpressRoutePortsLocationListResultPage
Creates a new instance of the ExpressRoutePortsLocationListResultPage type.
func (page *ExpressRoutePortsLocationListResultPage) 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 *ExpressRoutePortsLocationListResultPage) 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 ExpressRoutePortsLocationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRoutePortsLocationListResultPage) Response() ExpressRoutePortsLocationListResult
Response returns the raw server response from the last page request.
func (page ExpressRoutePortsLocationListResultPage) Values() []ExpressRoutePortsLocation
Values returns the slice of values for the current page or nil if there are no values.
ExpressRoutePortsLocationPropertiesFormat properties specific to ExpressRoutePorts peering location resources.
type ExpressRoutePortsLocationPropertiesFormat struct { // Address - READ-ONLY; Address of peering location. Address *string `json:"address,omitempty"` // Contact - READ-ONLY; Contact details of peering locations. Contact *string `json:"contact,omitempty"` // AvailableBandwidths - The inventory of available ExpressRoutePort bandwidths. AvailableBandwidths *[]ExpressRoutePortsLocationBandwidths `json:"availableBandwidths,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route port location resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (erplpf ExpressRoutePortsLocationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRoutePortsLocationPropertiesFormat.
ExpressRoutePortsLocationsClient is the network Client
type ExpressRoutePortsLocationsClient struct { BaseClient }
func NewExpressRoutePortsLocationsClient(subscriptionID string) ExpressRoutePortsLocationsClient
NewExpressRoutePortsLocationsClient creates an instance of the ExpressRoutePortsLocationsClient client.
func NewExpressRoutePortsLocationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsLocationsClient
NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRoutePortsLocationsClient) Get(ctx context.Context, locationName string) (result ExpressRoutePortsLocation, err error)
Get retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. Parameters: locationName - name of the requested ExpressRoutePort peering location.
func (client ExpressRoutePortsLocationsClient) GetPreparer(ctx context.Context, locationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ExpressRoutePortsLocationsClient) GetResponder(resp *http.Response) (result ExpressRoutePortsLocation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ExpressRoutePortsLocationsClient) 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 ExpressRoutePortsLocationsClient) List(ctx context.Context) (result ExpressRoutePortsLocationListResultPage, err error)
List retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.
func (client ExpressRoutePortsLocationsClient) ListComplete(ctx context.Context) (result ExpressRoutePortsLocationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRoutePortsLocationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRoutePortsLocationsClient) ListResponder(resp *http.Response) (result ExpressRoutePortsLocationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRoutePortsLocationsClient) 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.
ExpressRouteServiceProvider a ExpressRouteResourceProvider object.
type ExpressRouteServiceProvider struct { // ExpressRouteServiceProviderPropertiesFormat - Properties of the express route service provider. *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ersp ExpressRouteServiceProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteServiceProvider.
func (ersp *ExpressRouteServiceProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteServiceProvider struct.
ExpressRouteServiceProviderBandwidthsOffered contains bandwidths offered in ExpressRouteServiceProvider resources.
type ExpressRouteServiceProviderBandwidthsOffered struct { // OfferName - The OfferName. OfferName *string `json:"offerName,omitempty"` // ValueInMbps - The ValueInMbps. ValueInMbps *int32 `json:"valueInMbps,omitempty"` }
ExpressRouteServiceProviderListResult response for the ListExpressRouteServiceProvider API service call.
type ExpressRouteServiceProviderListResult struct { autorest.Response `json:"-"` // Value - A list of ExpressRouteResourceProvider resources. Value *[]ExpressRouteServiceProvider `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ersplr ExpressRouteServiceProviderListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ExpressRouteServiceProviderListResultIterator provides access to a complete listing of ExpressRouteServiceProvider values.
type ExpressRouteServiceProviderListResultIterator struct {
// contains filtered or unexported fields
}
func NewExpressRouteServiceProviderListResultIterator(page ExpressRouteServiceProviderListResultPage) ExpressRouteServiceProviderListResultIterator
Creates a new instance of the ExpressRouteServiceProviderListResultIterator type.
func (iter *ExpressRouteServiceProviderListResultIterator) 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 *ExpressRouteServiceProviderListResultIterator) 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 ExpressRouteServiceProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ExpressRouteServiceProviderListResultIterator) Response() ExpressRouteServiceProviderListResult
Response returns the raw server response from the last page request.
func (iter ExpressRouteServiceProviderListResultIterator) Value() ExpressRouteServiceProvider
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ExpressRouteServiceProviderListResultPage contains a page of ExpressRouteServiceProvider values.
type ExpressRouteServiceProviderListResultPage struct {
// contains filtered or unexported fields
}
func NewExpressRouteServiceProviderListResultPage(cur ExpressRouteServiceProviderListResult, getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage
Creates a new instance of the ExpressRouteServiceProviderListResultPage type.
func (page *ExpressRouteServiceProviderListResultPage) 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 *ExpressRouteServiceProviderListResultPage) 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 ExpressRouteServiceProviderListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ExpressRouteServiceProviderListResultPage) Response() ExpressRouteServiceProviderListResult
Response returns the raw server response from the last page request.
func (page ExpressRouteServiceProviderListResultPage) Values() []ExpressRouteServiceProvider
Values returns the slice of values for the current page or nil if there are no values.
ExpressRouteServiceProviderPropertiesFormat properties of ExpressRouteServiceProvider.
type ExpressRouteServiceProviderPropertiesFormat struct { // PeeringLocations - A list of peering locations. PeeringLocations *[]string `json:"peeringLocations,omitempty"` // BandwidthsOffered - A list of bandwidths offered. BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the express route service provider resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (ersppf ExpressRouteServiceProviderPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteServiceProviderPropertiesFormat.
ExpressRouteServiceProvidersClient is the network Client
type ExpressRouteServiceProvidersClient struct { BaseClient }
func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient
NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.
func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient
NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ExpressRouteServiceProvidersClient) List(ctx context.Context) (result ExpressRouteServiceProviderListResultPage, err error)
List gets all the available express route service providers.
func (client ExpressRouteServiceProvidersClient) ListComplete(ctx context.Context) (result ExpressRouteServiceProviderListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ExpressRouteServiceProvidersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExpressRouteServiceProvidersClient) ListResponder(resp *http.Response) (result ExpressRouteServiceProviderListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ExpressRouteServiceProvidersClient) 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.
ExtendedLocation extendedLocation complex type.
type ExtendedLocation struct { // Name - The name of the extended location. Name *string `json:"name,omitempty"` // Type - The type of the extended location. Possible values include: 'ExtendedLocationTypesEdgeZone' Type ExtendedLocationTypes `json:"type,omitempty"` }
ExtendedLocationTypes enumerates the values for extended location types.
type ExtendedLocationTypes string
const ( // ExtendedLocationTypesEdgeZone ... ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone" )
func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes
PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type.
FilterItems will contain the filter name and values to operate on
type FilterItems struct { // Field - The name of the field we would like to filter Field *string `json:"field,omitempty"` // Values - List of values to filter the current field by Values *[]string `json:"values,omitempty"` }
FirewallPoliciesClient is the network Client
type FirewallPoliciesClient struct { BaseClient }
func NewFirewallPoliciesClient(subscriptionID string) FirewallPoliciesClient
NewFirewallPoliciesClient creates an instance of the FirewallPoliciesClient client.
func NewFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPoliciesClient
NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FirewallPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters FirewallPolicy) (result FirewallPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. parameters - parameters supplied to the create or update Firewall Policy operation.
func (client FirewallPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters FirewallPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client FirewallPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client FirewallPoliciesClient) CreateOrUpdateSender(req *http.Request) (future FirewallPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client FirewallPoliciesClient) Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPoliciesDeleteFuture, err error)
Delete deletes the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client FirewallPoliciesClient) 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 FirewallPoliciesClient) DeleteSender(req *http.Request) (future FirewallPoliciesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client FirewallPoliciesClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, expand string) (result FirewallPolicy, err error)
Get gets the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. expand - expands referenced resources.
func (client FirewallPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client FirewallPoliciesClient) GetResponder(resp *http.Response) (result FirewallPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client FirewallPoliciesClient) 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 FirewallPoliciesClient) List(ctx context.Context, resourceGroupName string) (result FirewallPolicyListResultPage, err error)
List lists all Firewall Policies in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client FirewallPoliciesClient) ListAll(ctx context.Context) (result FirewallPolicyListResultPage, err error)
ListAll gets all the Firewall Policies in a subscription.
func (client FirewallPoliciesClient) ListAllComplete(ctx context.Context) (result FirewallPolicyListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client FirewallPoliciesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client FirewallPoliciesClient) ListAllResponder(resp *http.Response) (result FirewallPolicyListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client FirewallPoliciesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client FirewallPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result FirewallPolicyListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client FirewallPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client FirewallPoliciesClient) ListResponder(resp *http.Response) (result FirewallPolicyListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FirewallPoliciesClient) 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.
func (client FirewallPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters TagsObject) (result FirewallPolicy, err error)
UpdateTags updates tags of a Azure Firewall Policy resource. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. parameters - parameters supplied to update Azure Firewall Policy tags.
func (client FirewallPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client FirewallPoliciesClient) UpdateTagsResponder(resp *http.Response) (result FirewallPolicy, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client FirewallPoliciesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
FirewallPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FirewallPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallPoliciesClient) (FirewallPolicy, error) }
func (future *FirewallPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FirewallPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FirewallPoliciesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallPoliciesClient) (autorest.Response, error) }
func (future *FirewallPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FirewallPolicy firewallPolicy Resource.
type FirewallPolicy struct { autorest.Response `json:"-"` // FirewallPolicyPropertiesFormat - Properties of the firewall policy. *FirewallPolicyPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Identity - The identity of the firewall policy. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (fp FirewallPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicy.
func (fp *FirewallPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallPolicy struct.
FirewallPolicyCertificateAuthority trusted Root certificates properties for tls.
type FirewallPolicyCertificateAuthority struct { // KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` // Name - Name of the CA certificate. Name *string `json:"name,omitempty"` }
FirewallPolicyFilterRuleCollection firewall Policy Filter Rule Collection.
type FirewallPolicyFilterRuleCollection struct { // Action - The action type of a Filter rule collection. Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"` // Rules - List of rules included in a rule collection. Rules *[]BasicFirewallPolicyRule `json:"rules,omitempty"` // Name - The name of the rule collection. Name *string `json:"name,omitempty"` // Priority - Priority of the Firewall Policy Rule Collection resource. Priority *int32 `json:"priority,omitempty"` // RuleCollectionType - Possible values include: 'RuleCollectionTypeFirewallPolicyRuleCollection', 'RuleCollectionTypeFirewallPolicyNatRuleCollection', 'RuleCollectionTypeFirewallPolicyFilterRuleCollection' RuleCollectionType RuleCollectionType `json:"ruleCollectionType,omitempty"` }
func (fpfrc FirewallPolicyFilterRuleCollection) AsBasicFirewallPolicyRuleCollection() (BasicFirewallPolicyRuleCollection, bool)
AsBasicFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyFilterRuleCollection.
func (fpfrc FirewallPolicyFilterRuleCollection) AsFirewallPolicyFilterRuleCollection() (*FirewallPolicyFilterRuleCollection, bool)
AsFirewallPolicyFilterRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyFilterRuleCollection.
func (fpfrc FirewallPolicyFilterRuleCollection) AsFirewallPolicyNatRuleCollection() (*FirewallPolicyNatRuleCollection, bool)
AsFirewallPolicyNatRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyFilterRuleCollection.
func (fpfrc FirewallPolicyFilterRuleCollection) AsFirewallPolicyRuleCollection() (*FirewallPolicyRuleCollection, bool)
AsFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyFilterRuleCollection.
func (fpfrc FirewallPolicyFilterRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyFilterRuleCollection.
func (fpfrc *FirewallPolicyFilterRuleCollection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallPolicyFilterRuleCollection struct.
FirewallPolicyFilterRuleCollectionAction properties of the FirewallPolicyFilterRuleCollectionAction.
type FirewallPolicyFilterRuleCollectionAction struct { // Type - The type of action. Possible values include: 'FirewallPolicyFilterRuleCollectionActionTypeAllow', 'FirewallPolicyFilterRuleCollectionActionTypeDeny' Type FirewallPolicyFilterRuleCollectionActionType `json:"type,omitempty"` }
FirewallPolicyFilterRuleCollectionActionType enumerates the values for firewall policy filter rule collection action type.
type FirewallPolicyFilterRuleCollectionActionType string
const ( // FirewallPolicyFilterRuleCollectionActionTypeAllow ... FirewallPolicyFilterRuleCollectionActionTypeAllow FirewallPolicyFilterRuleCollectionActionType = "Allow" // FirewallPolicyFilterRuleCollectionActionTypeDeny ... FirewallPolicyFilterRuleCollectionActionTypeDeny FirewallPolicyFilterRuleCollectionActionType = "Deny" )
func PossibleFirewallPolicyFilterRuleCollectionActionTypeValues() []FirewallPolicyFilterRuleCollectionActionType
PossibleFirewallPolicyFilterRuleCollectionActionTypeValues returns an array of possible values for the FirewallPolicyFilterRuleCollectionActionType const type.
FirewallPolicyIDPSQuerySortOrder enumerates the values for firewall policy idps query sort order.
type FirewallPolicyIDPSQuerySortOrder string
const ( // FirewallPolicyIDPSQuerySortOrderAscending ... FirewallPolicyIDPSQuerySortOrderAscending FirewallPolicyIDPSQuerySortOrder = "Ascending" // FirewallPolicyIDPSQuerySortOrderDescending ... FirewallPolicyIDPSQuerySortOrderDescending FirewallPolicyIDPSQuerySortOrder = "Descending" )
func PossibleFirewallPolicyIDPSQuerySortOrderValues() []FirewallPolicyIDPSQuerySortOrder
PossibleFirewallPolicyIDPSQuerySortOrderValues returns an array of possible values for the FirewallPolicyIDPSQuerySortOrder const type.
FirewallPolicyIdpsSignaturesClient is the network Client
type FirewallPolicyIdpsSignaturesClient struct { BaseClient }
func NewFirewallPolicyIdpsSignaturesClient(subscriptionID string) FirewallPolicyIdpsSignaturesClient
NewFirewallPolicyIdpsSignaturesClient creates an instance of the FirewallPolicyIdpsSignaturesClient client.
func NewFirewallPolicyIdpsSignaturesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyIdpsSignaturesClient
NewFirewallPolicyIdpsSignaturesClientWithBaseURI creates an instance of the FirewallPolicyIdpsSignaturesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FirewallPolicyIdpsSignaturesClient) List(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters IDPSQueryObject) (result QueryResults, err error)
List retrieves the current status of IDPS signatures for the relevant policy Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesClient) ListPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters IDPSQueryObject) (*http.Request, error)
ListPreparer prepares the List request.
func (client FirewallPolicyIdpsSignaturesClient) ListResponder(resp *http.Response) (result QueryResults, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesClient) 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.
FirewallPolicyIdpsSignaturesFilterValuesClient is the network Client
type FirewallPolicyIdpsSignaturesFilterValuesClient struct { BaseClient }
func NewFirewallPolicyIdpsSignaturesFilterValuesClient(subscriptionID string) FirewallPolicyIdpsSignaturesFilterValuesClient
NewFirewallPolicyIdpsSignaturesFilterValuesClient creates an instance of the FirewallPolicyIdpsSignaturesFilterValuesClient client.
func NewFirewallPolicyIdpsSignaturesFilterValuesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyIdpsSignaturesFilterValuesClient
NewFirewallPolicyIdpsSignaturesFilterValuesClientWithBaseURI creates an instance of the FirewallPolicyIdpsSignaturesFilterValuesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FirewallPolicyIdpsSignaturesFilterValuesClient) List(ctx context.Context, parameters SignatureOverridesFilterValuesQuery, resourceGroupName string, firewallPolicyName string) (result SignatureOverridesFilterValuesResponse, err error)
List retrieves the current filter values for the signatures overrides Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesFilterValuesClient) ListPreparer(ctx context.Context, parameters SignatureOverridesFilterValuesQuery, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client FirewallPolicyIdpsSignaturesFilterValuesClient) ListResponder(resp *http.Response) (result SignatureOverridesFilterValuesResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesFilterValuesClient) 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.
FirewallPolicyIdpsSignaturesOverridesClient is the network Client
type FirewallPolicyIdpsSignaturesOverridesClient struct { BaseClient }
func NewFirewallPolicyIdpsSignaturesOverridesClient(subscriptionID string) FirewallPolicyIdpsSignaturesOverridesClient
NewFirewallPolicyIdpsSignaturesOverridesClient creates an instance of the FirewallPolicyIdpsSignaturesOverridesClient client.
func NewFirewallPolicyIdpsSignaturesOverridesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyIdpsSignaturesOverridesClient
NewFirewallPolicyIdpsSignaturesOverridesClientWithBaseURI creates an instance of the FirewallPolicyIdpsSignaturesOverridesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FirewallPolicyIdpsSignaturesOverridesClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result SignaturesOverrides, err error)
Get returns all signatures overrides for a specific policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesOverridesClient) GetPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client FirewallPolicyIdpsSignaturesOverridesClient) GetResponder(resp *http.Response) (result SignaturesOverrides, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesOverridesClient) 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 FirewallPolicyIdpsSignaturesOverridesClient) List(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result SignaturesOverridesList, err error)
List returns all signatures overrides objects for a specific policy as a list containing a single value. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesOverridesClient) ListPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client FirewallPolicyIdpsSignaturesOverridesClient) ListResponder(resp *http.Response) (result SignaturesOverridesList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesOverridesClient) 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.
func (client FirewallPolicyIdpsSignaturesOverridesClient) Patch(ctx context.Context, parameters SignaturesOverrides, resourceGroupName string, firewallPolicyName string) (result SignaturesOverrides, err error)
Patch will update the status of policy's signature overrides for IDPS Parameters: parameters - will contain all properties of the object to put resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PatchPreparer(ctx context.Context, parameters SignaturesOverrides, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PatchResponder(resp *http.Response) (result SignaturesOverrides, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PatchSender(req *http.Request) (*http.Response, error)
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (client FirewallPolicyIdpsSignaturesOverridesClient) Put(ctx context.Context, parameters SignaturesOverrides, resourceGroupName string, firewallPolicyName string) (result SignaturesOverrides, err error)
Put will override/create a new signature overrides for the policy's IDPS Parameters: parameters - will contain all properties of the object to put resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PutPreparer(ctx context.Context, parameters SignaturesOverrides, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
PutPreparer prepares the Put request.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PutResponder(resp *http.Response) (result SignaturesOverrides, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
func (client FirewallPolicyIdpsSignaturesOverridesClient) PutSender(req *http.Request) (*http.Response, error)
PutSender sends the Put request. The method will close the http.Response Body if it receives an error.
FirewallPolicyInsights firewall Policy Insights.
type FirewallPolicyInsights struct { // IsEnabled - A flag to indicate if the insights are enabled on the policy. IsEnabled *bool `json:"isEnabled,omitempty"` // RetentionDays - Number of days the insights should be enabled on the policy. RetentionDays *int32 `json:"retentionDays,omitempty"` // LogAnalyticsResources - Workspaces needed to configure the Firewall Policy Insights. LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `json:"logAnalyticsResources,omitempty"` }
FirewallPolicyIntrusionDetection configuration for intrusion detection mode and rules.
type FirewallPolicyIntrusionDetection struct { // Mode - Intrusion detection general state. Possible values include: 'FirewallPolicyIntrusionDetectionStateTypeOff', 'FirewallPolicyIntrusionDetectionStateTypeAlert', 'FirewallPolicyIntrusionDetectionStateTypeDeny' Mode FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` // Configuration - Intrusion detection configuration properties. Configuration *FirewallPolicyIntrusionDetectionConfiguration `json:"configuration,omitempty"` }
FirewallPolicyIntrusionDetectionBypassTrafficSpecifications intrusion detection bypass traffic specification.
type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct { // Name - Name of the bypass traffic rule. Name *string `json:"name,omitempty"` // Description - Description of the bypass traffic rule. Description *string `json:"description,omitempty"` // Protocol - The rule bypass protocol. Possible values include: 'FirewallPolicyIntrusionDetectionProtocolTCP', 'FirewallPolicyIntrusionDetectionProtocolUDP', 'FirewallPolicyIntrusionDetectionProtocolICMP', 'FirewallPolicyIntrusionDetectionProtocolANY' Protocol FirewallPolicyIntrusionDetectionProtocol `json:"protocol,omitempty"` // SourceAddresses - List of source IP addresses or ranges for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses or ranges for this rule. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // DestinationPorts - List of destination ports or ranges. DestinationPorts *[]string `json:"destinationPorts,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` // DestinationIPGroups - List of destination IpGroups for this rule. DestinationIPGroups *[]string `json:"destinationIpGroups,omitempty"` }
FirewallPolicyIntrusionDetectionConfiguration the operation for configuring intrusion detection.
type FirewallPolicyIntrusionDetectionConfiguration struct { // SignatureOverrides - List of specific signatures states. SignatureOverrides *[]FirewallPolicyIntrusionDetectionSignatureSpecification `json:"signatureOverrides,omitempty"` // BypassTrafficSettings - List of rules for traffic to bypass. BypassTrafficSettings *[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `json:"bypassTrafficSettings,omitempty"` // PrivateRanges - IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property PrivateRanges *[]string `json:"privateRanges,omitempty"` }
FirewallPolicyIntrusionDetectionProtocol enumerates the values for firewall policy intrusion detection protocol.
type FirewallPolicyIntrusionDetectionProtocol string
const ( // FirewallPolicyIntrusionDetectionProtocolANY ... FirewallPolicyIntrusionDetectionProtocolANY FirewallPolicyIntrusionDetectionProtocol = "ANY" // FirewallPolicyIntrusionDetectionProtocolICMP ... FirewallPolicyIntrusionDetectionProtocolICMP FirewallPolicyIntrusionDetectionProtocol = "ICMP" // FirewallPolicyIntrusionDetectionProtocolTCP ... FirewallPolicyIntrusionDetectionProtocolTCP FirewallPolicyIntrusionDetectionProtocol = "TCP" // FirewallPolicyIntrusionDetectionProtocolUDP ... FirewallPolicyIntrusionDetectionProtocolUDP FirewallPolicyIntrusionDetectionProtocol = "UDP" )
func PossibleFirewallPolicyIntrusionDetectionProtocolValues() []FirewallPolicyIntrusionDetectionProtocol
PossibleFirewallPolicyIntrusionDetectionProtocolValues returns an array of possible values for the FirewallPolicyIntrusionDetectionProtocol const type.
FirewallPolicyIntrusionDetectionSignatureSpecification intrusion detection signatures specification states.
type FirewallPolicyIntrusionDetectionSignatureSpecification struct { // ID - Signature id. ID *string `json:"id,omitempty"` // Mode - The signature state. Possible values include: 'FirewallPolicyIntrusionDetectionStateTypeOff', 'FirewallPolicyIntrusionDetectionStateTypeAlert', 'FirewallPolicyIntrusionDetectionStateTypeDeny' Mode FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` }
FirewallPolicyIntrusionDetectionStateType enumerates the values for firewall policy intrusion detection state type.
type FirewallPolicyIntrusionDetectionStateType string
const ( // FirewallPolicyIntrusionDetectionStateTypeAlert ... FirewallPolicyIntrusionDetectionStateTypeAlert FirewallPolicyIntrusionDetectionStateType = "Alert" // FirewallPolicyIntrusionDetectionStateTypeDeny ... FirewallPolicyIntrusionDetectionStateTypeDeny FirewallPolicyIntrusionDetectionStateType = "Deny" // FirewallPolicyIntrusionDetectionStateTypeOff ... FirewallPolicyIntrusionDetectionStateTypeOff FirewallPolicyIntrusionDetectionStateType = "Off" )
func PossibleFirewallPolicyIntrusionDetectionStateTypeValues() []FirewallPolicyIntrusionDetectionStateType
PossibleFirewallPolicyIntrusionDetectionStateTypeValues returns an array of possible values for the FirewallPolicyIntrusionDetectionStateType const type.
FirewallPolicyListResult response for ListFirewallPolicies API service call.
type FirewallPolicyListResult struct { autorest.Response `json:"-"` // Value - List of Firewall Policies in a resource group. Value *[]FirewallPolicy `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (fplr FirewallPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
FirewallPolicyListResultIterator provides access to a complete listing of FirewallPolicy values.
type FirewallPolicyListResultIterator struct {
// contains filtered or unexported fields
}
func NewFirewallPolicyListResultIterator(page FirewallPolicyListResultPage) FirewallPolicyListResultIterator
Creates a new instance of the FirewallPolicyListResultIterator type.
func (iter *FirewallPolicyListResultIterator) 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 *FirewallPolicyListResultIterator) 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 FirewallPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FirewallPolicyListResultIterator) Response() FirewallPolicyListResult
Response returns the raw server response from the last page request.
func (iter FirewallPolicyListResultIterator) Value() FirewallPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
FirewallPolicyListResultPage contains a page of FirewallPolicy values.
type FirewallPolicyListResultPage struct {
// contains filtered or unexported fields
}
func NewFirewallPolicyListResultPage(cur FirewallPolicyListResult, getNextPage func(context.Context, FirewallPolicyListResult) (FirewallPolicyListResult, error)) FirewallPolicyListResultPage
Creates a new instance of the FirewallPolicyListResultPage type.
func (page *FirewallPolicyListResultPage) 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 *FirewallPolicyListResultPage) 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 FirewallPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FirewallPolicyListResultPage) Response() FirewallPolicyListResult
Response returns the raw server response from the last page request.
func (page FirewallPolicyListResultPage) Values() []FirewallPolicy
Values returns the slice of values for the current page or nil if there are no values.
FirewallPolicyLogAnalyticsResources log Analytics Resources for Firewall Policy Insights.
type FirewallPolicyLogAnalyticsResources struct { // Workspaces - List of workspaces for Firewall Policy Insights. Workspaces *[]FirewallPolicyLogAnalyticsWorkspace `json:"workspaces,omitempty"` // DefaultWorkspaceID - The default workspace Id for Firewall Policy Insights. DefaultWorkspaceID *SubResource `json:"defaultWorkspaceId,omitempty"` }
FirewallPolicyLogAnalyticsWorkspace log Analytics Workspace for Firewall Policy Insights.
type FirewallPolicyLogAnalyticsWorkspace struct { // Region - Region to configure the Workspace. Region *string `json:"region,omitempty"` // WorkspaceID - The workspace Id for Firewall Policy Insights. WorkspaceID *SubResource `json:"workspaceId,omitempty"` }
FirewallPolicyNatRuleCollection firewall Policy NAT Rule Collection.
type FirewallPolicyNatRuleCollection struct { // Action - The action type of a Nat rule collection. Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"` // Rules - List of rules included in a rule collection. Rules *[]BasicFirewallPolicyRule `json:"rules,omitempty"` // Name - The name of the rule collection. Name *string `json:"name,omitempty"` // Priority - Priority of the Firewall Policy Rule Collection resource. Priority *int32 `json:"priority,omitempty"` // RuleCollectionType - Possible values include: 'RuleCollectionTypeFirewallPolicyRuleCollection', 'RuleCollectionTypeFirewallPolicyNatRuleCollection', 'RuleCollectionTypeFirewallPolicyFilterRuleCollection' RuleCollectionType RuleCollectionType `json:"ruleCollectionType,omitempty"` }
func (fpnrc FirewallPolicyNatRuleCollection) AsBasicFirewallPolicyRuleCollection() (BasicFirewallPolicyRuleCollection, bool)
AsBasicFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyNatRuleCollection.
func (fpnrc FirewallPolicyNatRuleCollection) AsFirewallPolicyFilterRuleCollection() (*FirewallPolicyFilterRuleCollection, bool)
AsFirewallPolicyFilterRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyNatRuleCollection.
func (fpnrc FirewallPolicyNatRuleCollection) AsFirewallPolicyNatRuleCollection() (*FirewallPolicyNatRuleCollection, bool)
AsFirewallPolicyNatRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyNatRuleCollection.
func (fpnrc FirewallPolicyNatRuleCollection) AsFirewallPolicyRuleCollection() (*FirewallPolicyRuleCollection, bool)
AsFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyNatRuleCollection.
func (fpnrc FirewallPolicyNatRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyNatRuleCollection.
func (fpnrc *FirewallPolicyNatRuleCollection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallPolicyNatRuleCollection struct.
FirewallPolicyNatRuleCollectionAction properties of the FirewallPolicyNatRuleCollectionAction.
type FirewallPolicyNatRuleCollectionAction struct { // Type - The type of action. Possible values include: 'FirewallPolicyNatRuleCollectionActionTypeDNAT' Type FirewallPolicyNatRuleCollectionActionType `json:"type,omitempty"` }
FirewallPolicyNatRuleCollectionActionType enumerates the values for firewall policy nat rule collection action type.
type FirewallPolicyNatRuleCollectionActionType string
const ( // FirewallPolicyNatRuleCollectionActionTypeDNAT ... FirewallPolicyNatRuleCollectionActionTypeDNAT FirewallPolicyNatRuleCollectionActionType = "DNAT" )
func PossibleFirewallPolicyNatRuleCollectionActionTypeValues() []FirewallPolicyNatRuleCollectionActionType
PossibleFirewallPolicyNatRuleCollectionActionTypeValues returns an array of possible values for the FirewallPolicyNatRuleCollectionActionType const type.
FirewallPolicyPropertiesFormat firewall Policy definition.
type FirewallPolicyPropertiesFormat struct { // RuleCollectionGroups - READ-ONLY; List of references to FirewallPolicyRuleCollectionGroups. RuleCollectionGroups *[]SubResource `json:"ruleCollectionGroups,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the firewall policy resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // BasePolicy - The parent firewall policy from which rules are inherited. BasePolicy *SubResource `json:"basePolicy,omitempty"` // Firewalls - READ-ONLY; List of references to Azure Firewalls that this Firewall Policy is associated with. Firewalls *[]SubResource `json:"firewalls,omitempty"` // ChildPolicies - READ-ONLY; List of references to Child Firewall Policies. ChildPolicies *[]SubResource `json:"childPolicies,omitempty"` // ThreatIntelMode - The operation mode for Threat Intelligence. Possible values include: 'AzureFirewallThreatIntelModeAlert', 'AzureFirewallThreatIntelModeDeny', 'AzureFirewallThreatIntelModeOff' ThreatIntelMode AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` // ThreatIntelWhitelist - ThreatIntel Whitelist for Firewall Policy. ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"` // Insights - Insights on Firewall Policy. Insights *FirewallPolicyInsights `json:"insights,omitempty"` // Snat - The private IP addresses/IP ranges to which traffic will not be SNAT. Snat *FirewallPolicySNAT `json:"snat,omitempty"` // SQL - SQL Settings definition. SQL *FirewallPolicySQL `json:"sql,omitempty"` // DNSSettings - DNS Proxy Settings definition. DNSSettings *DNSSettings `json:"dnsSettings,omitempty"` // ExplicitProxySettings - Explicit Proxy Settings definition. ExplicitProxySettings *ExplicitProxySettings `json:"explicitProxySettings,omitempty"` // IntrusionDetection - The configuration for Intrusion detection. IntrusionDetection *FirewallPolicyIntrusionDetection `json:"intrusionDetection,omitempty"` // TransportSecurity - TLS Configuration definition. TransportSecurity *FirewallPolicyTransportSecurity `json:"transportSecurity,omitempty"` // Sku - The Firewall Policy SKU. Sku *FirewallPolicySku `json:"sku,omitempty"` }
func (fppf FirewallPolicyPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyPropertiesFormat.
FirewallPolicyRule properties of a rule.
type FirewallPolicyRule struct { // Name - Name of the rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeApplicationRule', 'RuleTypeNatRule', 'RuleTypeNetworkRule' RuleType RuleType `json:"ruleType,omitempty"` }
func (fpr FirewallPolicyRule) AsApplicationRule() (*ApplicationRule, bool)
AsApplicationRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.
func (fpr FirewallPolicyRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)
AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.
func (fpr FirewallPolicyRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.
func (fpr FirewallPolicyRule) AsNatRule() (*NatRule, bool)
AsNatRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.
func (fpr FirewallPolicyRule) AsRule() (*Rule, bool)
AsRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.
func (fpr FirewallPolicyRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyRule.
FirewallPolicyRuleApplicationProtocol properties of the application rule protocol.
type FirewallPolicyRuleApplicationProtocol struct { // ProtocolType - Protocol type. Possible values include: 'FirewallPolicyRuleApplicationProtocolTypeHTTP', 'FirewallPolicyRuleApplicationProtocolTypeHTTPS' ProtocolType FirewallPolicyRuleApplicationProtocolType `json:"protocolType,omitempty"` // Port - Port number for the protocol, cannot be greater than 64000. Port *int32 `json:"port,omitempty"` }
FirewallPolicyRuleApplicationProtocolType enumerates the values for firewall policy rule application protocol type.
type FirewallPolicyRuleApplicationProtocolType string
const ( // FirewallPolicyRuleApplicationProtocolTypeHTTP ... FirewallPolicyRuleApplicationProtocolTypeHTTP FirewallPolicyRuleApplicationProtocolType = "Http" // FirewallPolicyRuleApplicationProtocolTypeHTTPS ... FirewallPolicyRuleApplicationProtocolTypeHTTPS FirewallPolicyRuleApplicationProtocolType = "Https" )
func PossibleFirewallPolicyRuleApplicationProtocolTypeValues() []FirewallPolicyRuleApplicationProtocolType
PossibleFirewallPolicyRuleApplicationProtocolTypeValues returns an array of possible values for the FirewallPolicyRuleApplicationProtocolType const type.
FirewallPolicyRuleCollection properties of the rule collection.
type FirewallPolicyRuleCollection struct { // Name - The name of the rule collection. Name *string `json:"name,omitempty"` // Priority - Priority of the Firewall Policy Rule Collection resource. Priority *int32 `json:"priority,omitempty"` // RuleCollectionType - Possible values include: 'RuleCollectionTypeFirewallPolicyRuleCollection', 'RuleCollectionTypeFirewallPolicyNatRuleCollection', 'RuleCollectionTypeFirewallPolicyFilterRuleCollection' RuleCollectionType RuleCollectionType `json:"ruleCollectionType,omitempty"` }
func (fprc FirewallPolicyRuleCollection) AsBasicFirewallPolicyRuleCollection() (BasicFirewallPolicyRuleCollection, bool)
AsBasicFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyRuleCollection.
func (fprc FirewallPolicyRuleCollection) AsFirewallPolicyFilterRuleCollection() (*FirewallPolicyFilterRuleCollection, bool)
AsFirewallPolicyFilterRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyRuleCollection.
func (fprc FirewallPolicyRuleCollection) AsFirewallPolicyNatRuleCollection() (*FirewallPolicyNatRuleCollection, bool)
AsFirewallPolicyNatRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyRuleCollection.
func (fprc FirewallPolicyRuleCollection) AsFirewallPolicyRuleCollection() (*FirewallPolicyRuleCollection, bool)
AsFirewallPolicyRuleCollection is the BasicFirewallPolicyRuleCollection implementation for FirewallPolicyRuleCollection.
func (fprc FirewallPolicyRuleCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyRuleCollection.
FirewallPolicyRuleCollectionGroup rule Collection Group resource.
type FirewallPolicyRuleCollectionGroup struct { autorest.Response `json:"-"` // FirewallPolicyRuleCollectionGroupProperties - The properties of the firewall policy rule collection group. *FirewallPolicyRuleCollectionGroupProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Rule Group type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (fprcg FirewallPolicyRuleCollectionGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyRuleCollectionGroup.
func (fprcg *FirewallPolicyRuleCollectionGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallPolicyRuleCollectionGroup struct.
FirewallPolicyRuleCollectionGroupListResult response for ListFirewallPolicyRuleCollectionGroups API service call.
type FirewallPolicyRuleCollectionGroupListResult struct { autorest.Response `json:"-"` // Value - List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. Value *[]FirewallPolicyRuleCollectionGroup `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (fprcglr FirewallPolicyRuleCollectionGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
FirewallPolicyRuleCollectionGroupListResultIterator provides access to a complete listing of FirewallPolicyRuleCollectionGroup values.
type FirewallPolicyRuleCollectionGroupListResultIterator struct {
// contains filtered or unexported fields
}
func NewFirewallPolicyRuleCollectionGroupListResultIterator(page FirewallPolicyRuleCollectionGroupListResultPage) FirewallPolicyRuleCollectionGroupListResultIterator
Creates a new instance of the FirewallPolicyRuleCollectionGroupListResultIterator type.
func (iter *FirewallPolicyRuleCollectionGroupListResultIterator) 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 *FirewallPolicyRuleCollectionGroupListResultIterator) 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 FirewallPolicyRuleCollectionGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FirewallPolicyRuleCollectionGroupListResultIterator) Response() FirewallPolicyRuleCollectionGroupListResult
Response returns the raw server response from the last page request.
func (iter FirewallPolicyRuleCollectionGroupListResultIterator) Value() FirewallPolicyRuleCollectionGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
FirewallPolicyRuleCollectionGroupListResultPage contains a page of FirewallPolicyRuleCollectionGroup values.
type FirewallPolicyRuleCollectionGroupListResultPage struct {
// contains filtered or unexported fields
}
func NewFirewallPolicyRuleCollectionGroupListResultPage(cur FirewallPolicyRuleCollectionGroupListResult, getNextPage func(context.Context, FirewallPolicyRuleCollectionGroupListResult) (FirewallPolicyRuleCollectionGroupListResult, error)) FirewallPolicyRuleCollectionGroupListResultPage
Creates a new instance of the FirewallPolicyRuleCollectionGroupListResultPage type.
func (page *FirewallPolicyRuleCollectionGroupListResultPage) 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 *FirewallPolicyRuleCollectionGroupListResultPage) 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 FirewallPolicyRuleCollectionGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FirewallPolicyRuleCollectionGroupListResultPage) Response() FirewallPolicyRuleCollectionGroupListResult
Response returns the raw server response from the last page request.
func (page FirewallPolicyRuleCollectionGroupListResultPage) Values() []FirewallPolicyRuleCollectionGroup
Values returns the slice of values for the current page or nil if there are no values.
FirewallPolicyRuleCollectionGroupProperties properties of the rule collection group.
type FirewallPolicyRuleCollectionGroupProperties struct { // Priority - Priority of the Firewall Policy Rule Collection Group resource. Priority *int32 `json:"priority,omitempty"` // RuleCollections - Group of Firewall Policy rule collections. RuleCollections *[]BasicFirewallPolicyRuleCollection `json:"ruleCollections,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the firewall policy rule collection group resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (fprcgp FirewallPolicyRuleCollectionGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallPolicyRuleCollectionGroupProperties.
func (fprcgp *FirewallPolicyRuleCollectionGroupProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallPolicyRuleCollectionGroupProperties struct.
FirewallPolicyRuleCollectionGroupsClient is the network Client
type FirewallPolicyRuleCollectionGroupsClient struct { BaseClient }
func NewFirewallPolicyRuleCollectionGroupsClient(subscriptionID string) FirewallPolicyRuleCollectionGroupsClient
NewFirewallPolicyRuleCollectionGroupsClient creates an instance of the FirewallPolicyRuleCollectionGroupsClient client.
func NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyRuleCollectionGroupsClient
NewFirewallPolicyRuleCollectionGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleCollectionGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FirewallPolicyRuleCollectionGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string, parameters FirewallPolicyRuleCollectionGroup) (result FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified FirewallPolicyRuleCollectionGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleCollectionGroupName - the name of the FirewallPolicyRuleCollectionGroup. parameters - parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
func (client FirewallPolicyRuleCollectionGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string, parameters FirewallPolicyRuleCollectionGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client FirewallPolicyRuleCollectionGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallPolicyRuleCollectionGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client FirewallPolicyRuleCollectionGroupsClient) CreateOrUpdateSender(req *http.Request) (future FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client FirewallPolicyRuleCollectionGroupsClient) Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) (result FirewallPolicyRuleCollectionGroupsDeleteFuture, err error)
Delete deletes the specified FirewallPolicyRuleCollectionGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleCollectionGroupName - the name of the FirewallPolicyRuleCollectionGroup.
func (client FirewallPolicyRuleCollectionGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client FirewallPolicyRuleCollectionGroupsClient) 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 FirewallPolicyRuleCollectionGroupsClient) DeleteSender(req *http.Request) (future FirewallPolicyRuleCollectionGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client FirewallPolicyRuleCollectionGroupsClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) (result FirewallPolicyRuleCollectionGroup, err error)
Get gets the specified FirewallPolicyRuleCollectionGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleCollectionGroupName - the name of the FirewallPolicyRuleCollectionGroup.
func (client FirewallPolicyRuleCollectionGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client FirewallPolicyRuleCollectionGroupsClient) GetResponder(resp *http.Response) (result FirewallPolicyRuleCollectionGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client FirewallPolicyRuleCollectionGroupsClient) 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 FirewallPolicyRuleCollectionGroupsClient) List(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPolicyRuleCollectionGroupListResultPage, err error)
List lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.
func (client FirewallPolicyRuleCollectionGroupsClient) ListComplete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPolicyRuleCollectionGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client FirewallPolicyRuleCollectionGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client FirewallPolicyRuleCollectionGroupsClient) ListResponder(resp *http.Response) (result FirewallPolicyRuleCollectionGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FirewallPolicyRuleCollectionGroupsClient) 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.
FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallPolicyRuleCollectionGroupsClient) (FirewallPolicyRuleCollectionGroup, error) }
func (future *FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FirewallPolicyRuleCollectionGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FirewallPolicyRuleCollectionGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FirewallPolicyRuleCollectionGroupsClient) (autorest.Response, error) }
func (future *FirewallPolicyRuleCollectionGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FirewallPolicyRuleNetworkProtocol enumerates the values for firewall policy rule network protocol.
type FirewallPolicyRuleNetworkProtocol string
const ( // FirewallPolicyRuleNetworkProtocolAny ... FirewallPolicyRuleNetworkProtocolAny FirewallPolicyRuleNetworkProtocol = "Any" // FirewallPolicyRuleNetworkProtocolICMP ... FirewallPolicyRuleNetworkProtocolICMP FirewallPolicyRuleNetworkProtocol = "ICMP" // FirewallPolicyRuleNetworkProtocolTCP ... FirewallPolicyRuleNetworkProtocolTCP FirewallPolicyRuleNetworkProtocol = "TCP" // FirewallPolicyRuleNetworkProtocolUDP ... FirewallPolicyRuleNetworkProtocolUDP FirewallPolicyRuleNetworkProtocol = "UDP" )
func PossibleFirewallPolicyRuleNetworkProtocolValues() []FirewallPolicyRuleNetworkProtocol
PossibleFirewallPolicyRuleNetworkProtocolValues returns an array of possible values for the FirewallPolicyRuleNetworkProtocol const type.
FirewallPolicySNAT the private IP addresses/IP ranges to which traffic will not be SNAT.
type FirewallPolicySNAT struct { // PrivateRanges - List of private IP addresses/IP address ranges to not be SNAT. PrivateRanges *[]string `json:"privateRanges,omitempty"` }
FirewallPolicySQL SQL Settings in Firewall Policy.
type FirewallPolicySQL struct { // AllowSQLRedirect - A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999. AllowSQLRedirect *bool `json:"allowSqlRedirect,omitempty"` }
FirewallPolicySku SKU of Firewall policy.
type FirewallPolicySku struct { // Tier - Tier of Firewall Policy. Possible values include: 'FirewallPolicySkuTierStandard', 'FirewallPolicySkuTierPremium', 'FirewallPolicySkuTierBasic' Tier FirewallPolicySkuTier `json:"tier,omitempty"` }
FirewallPolicySkuTier enumerates the values for firewall policy sku tier.
type FirewallPolicySkuTier string
const ( // FirewallPolicySkuTierBasic ... FirewallPolicySkuTierBasic FirewallPolicySkuTier = "Basic" // FirewallPolicySkuTierPremium ... FirewallPolicySkuTierPremium FirewallPolicySkuTier = "Premium" // FirewallPolicySkuTierStandard ... FirewallPolicySkuTierStandard FirewallPolicySkuTier = "Standard" )
func PossibleFirewallPolicySkuTierValues() []FirewallPolicySkuTier
PossibleFirewallPolicySkuTierValues returns an array of possible values for the FirewallPolicySkuTier const type.
FirewallPolicyThreatIntelWhitelist threatIntel Whitelist for Firewall Policy.
type FirewallPolicyThreatIntelWhitelist struct { // IPAddresses - List of IP addresses for the ThreatIntel Whitelist. IPAddresses *[]string `json:"ipAddresses,omitempty"` // Fqdns - List of FQDNs for the ThreatIntel Whitelist. Fqdns *[]string `json:"fqdns,omitempty"` }
FirewallPolicyTransportSecurity configuration needed to perform TLS termination & initiation.
type FirewallPolicyTransportSecurity struct { // CertificateAuthority - The CA used for intermediate CA generation. CertificateAuthority *FirewallPolicyCertificateAuthority `json:"certificateAuthority,omitempty"` }
FlowLog a flow log resource.
type FlowLog struct { autorest.Response `json:"-"` // FlowLogPropertiesFormat - Properties of the flow log. *FlowLogPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (fl FlowLog) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FlowLog.
func (fl *FlowLog) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FlowLog struct.
FlowLogFormatParameters parameters that define the flow log format.
type FlowLogFormatParameters struct { // Type - The file type of flow log. Possible values include: 'FlowLogFormatTypeJSON' Type FlowLogFormatType `json:"type,omitempty"` // Version - The version (revision) of the flow log. Version *int32 `json:"version,omitempty"` }
FlowLogFormatType enumerates the values for flow log format type.
type FlowLogFormatType string
const ( // FlowLogFormatTypeJSON ... FlowLogFormatTypeJSON FlowLogFormatType = "JSON" )
func PossibleFlowLogFormatTypeValues() []FlowLogFormatType
PossibleFlowLogFormatTypeValues returns an array of possible values for the FlowLogFormatType const type.
FlowLogInformation information on the configuration of flow log and traffic analytics (optional) .
type FlowLogInformation struct { autorest.Response `json:"-"` // TargetResourceID - The ID of the resource to configure for flow log and traffic analytics (optional) . TargetResourceID *string `json:"targetResourceId,omitempty"` // FlowLogProperties - Properties of the flow log. *FlowLogProperties `json:"properties,omitempty"` // FlowAnalyticsConfiguration - Parameters that define the configuration of traffic analytics. FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` }
func (fli FlowLogInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FlowLogInformation.
func (fli *FlowLogInformation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FlowLogInformation struct.
FlowLogListResult list of flow logs.
type FlowLogListResult struct { autorest.Response `json:"-"` // Value - Information about flow log resource. Value *[]FlowLog `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (fllr FlowLogListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (fllr FlowLogListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FlowLogListResult.
FlowLogListResultIterator provides access to a complete listing of FlowLog values.
type FlowLogListResultIterator struct {
// contains filtered or unexported fields
}
func NewFlowLogListResultIterator(page FlowLogListResultPage) FlowLogListResultIterator
Creates a new instance of the FlowLogListResultIterator type.
func (iter *FlowLogListResultIterator) 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 *FlowLogListResultIterator) 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 FlowLogListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FlowLogListResultIterator) Response() FlowLogListResult
Response returns the raw server response from the last page request.
func (iter FlowLogListResultIterator) Value() FlowLog
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
FlowLogListResultPage contains a page of FlowLog values.
type FlowLogListResultPage struct {
// contains filtered or unexported fields
}
func NewFlowLogListResultPage(cur FlowLogListResult, getNextPage func(context.Context, FlowLogListResult) (FlowLogListResult, error)) FlowLogListResultPage
Creates a new instance of the FlowLogListResultPage type.
func (page *FlowLogListResultPage) 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 *FlowLogListResultPage) 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 FlowLogListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FlowLogListResultPage) Response() FlowLogListResult
Response returns the raw server response from the last page request.
func (page FlowLogListResultPage) Values() []FlowLog
Values returns the slice of values for the current page or nil if there are no values.
FlowLogProperties parameters that define the configuration of flow log.
type FlowLogProperties struct { // StorageID - ID of the storage account which is used to store the flow log. StorageID *string `json:"storageId,omitempty"` // Enabled - Flag to enable/disable flow logging. Enabled *bool `json:"enabled,omitempty"` // RetentionPolicy - Parameters that define the retention policy for flow log. RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` // Format - Parameters that define the flow log format. Format *FlowLogFormatParameters `json:"format,omitempty"` }
FlowLogPropertiesFormat parameters that define the configuration of flow log.
type FlowLogPropertiesFormat struct { // TargetResourceID - ID of network security group to which flow log will be applied. TargetResourceID *string `json:"targetResourceId,omitempty"` // TargetResourceGUID - READ-ONLY; Guid of network security group to which flow log will be applied. TargetResourceGUID *string `json:"targetResourceGuid,omitempty"` // StorageID - ID of the storage account which is used to store the flow log. StorageID *string `json:"storageId,omitempty"` // Enabled - Flag to enable/disable flow logging. Enabled *bool `json:"enabled,omitempty"` // RetentionPolicy - Parameters that define the retention policy for flow log. RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` // Format - Parameters that define the flow log format. Format *FlowLogFormatParameters `json:"format,omitempty"` // FlowAnalyticsConfiguration - Parameters that define the configuration of traffic analytics. FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the flow log. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (flpf FlowLogPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FlowLogPropertiesFormat.
FlowLogStatusParameters parameters that define a resource to query flow log and traffic analytics (optional) status.
type FlowLogStatusParameters struct { // TargetResourceID - The target resource where getting the flow log and traffic analytics (optional) status. TargetResourceID *string `json:"targetResourceId,omitempty"` }
FlowLogsClient is the network Client
type FlowLogsClient struct { BaseClient }
func NewFlowLogsClient(subscriptionID string) FlowLogsClient
NewFlowLogsClient creates an instance of the FlowLogsClient client.
func NewFlowLogsClientWithBaseURI(baseURI string, subscriptionID string) FlowLogsClient
NewFlowLogsClientWithBaseURI creates an instance of the FlowLogsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client FlowLogsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters FlowLog) (result FlowLogsCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a flow log for the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. flowLogName - the name of the flow log. parameters - parameters that define the create or update flow log resource.
func (client FlowLogsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters FlowLog) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client FlowLogsClient) CreateOrUpdateResponder(resp *http.Response) (result FlowLog, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client FlowLogsClient) CreateOrUpdateSender(req *http.Request) (future FlowLogsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client FlowLogsClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string) (result FlowLogsDeleteFuture, err error)
Delete deletes the specified flow log resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. flowLogName - the name of the flow log resource.
func (client FlowLogsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client FlowLogsClient) 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 FlowLogsClient) DeleteSender(req *http.Request) (future FlowLogsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client FlowLogsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string) (result FlowLog, err error)
Get gets a flow log resource by name. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. flowLogName - the name of the flow log resource.
func (client FlowLogsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client FlowLogsClient) GetResponder(resp *http.Response) (result FlowLog, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client FlowLogsClient) 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 FlowLogsClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result FlowLogListResultPage, err error)
List lists all flow log resources for the specified Network Watcher. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource.
func (client FlowLogsClient) ListComplete(ctx context.Context, resourceGroupName string, networkWatcherName string) (result FlowLogListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client FlowLogsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client FlowLogsClient) ListResponder(resp *http.Response) (result FlowLogListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client FlowLogsClient) 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.
func (client FlowLogsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters TagsObject) (result FlowLog, err error)
UpdateTags update tags of the specified flow log. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. flowLogName - the name of the flow log. parameters - parameters supplied to update flow log tags.
func (client FlowLogsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client FlowLogsClient) UpdateTagsResponder(resp *http.Response) (result FlowLog, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client FlowLogsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
FlowLogsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FlowLogsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FlowLogsClient) (FlowLog, error) }
func (future *FlowLogsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FlowLogsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type FlowLogsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(FlowLogsClient) (autorest.Response, error) }
func (future *FlowLogsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
FrontendIPConfiguration frontend IP address of the load balancer.
type FrontendIPConfiguration struct { autorest.Response `json:"-"` // FrontendIPConfigurationPropertiesFormat - Properties of the load balancer probe. *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // Zones - A list of availability zones denoting the IP allocated for the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (fic FrontendIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FrontendIPConfiguration.
func (fic *FrontendIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FrontendIPConfiguration struct.
FrontendIPConfigurationPropertiesFormat properties of Frontend IP Configuration of the load balancer.
type FrontendIPConfigurationPropertiesFormat struct { // InboundNatRules - READ-ONLY; An array of references to inbound rules that use this frontend IP. InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` // InboundNatPools - READ-ONLY; An array of references to inbound pools that use this frontend IP. InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` // OutboundRules - READ-ONLY; An array of references to outbound rules that use this frontend IP. OutboundRules *[]SubResource `json:"outboundRules,omitempty"` // LoadBalancingRules - READ-ONLY; An array of references to load balancing rules that use this frontend IP. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The Private IP allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // PrivateIPAddressVersion - Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` // Subnet - The reference to the subnet resource. Subnet *Subnet `json:"subnet,omitempty"` // PublicIPAddress - The reference to the Public IP resource. PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` // PublicIPPrefix - The reference to the Public IP Prefix resource. PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` // GatewayLoadBalancer - The reference to gateway load balancer frontend IP. GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the frontend IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (ficpf FrontendIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FrontendIPConfigurationPropertiesFormat.
GatewayCustomBgpIPAddressIPConfiguration gatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
type GatewayCustomBgpIPAddressIPConfiguration struct { // IPConfigurationID - The IpconfigurationId of ipconfiguration which belongs to gateway. IPConfigurationID *string `json:"ipConfigurationId,omitempty"` // CustomBgpIPAddress - The custom BgpPeeringAddress which belongs to IpconfigurationId. CustomBgpIPAddress *string `json:"customBgpIpAddress,omitempty"` }
GatewayLoadBalancerTunnelInterface gateway load balancer tunnel interface of a load balancer backend address pool.
type GatewayLoadBalancerTunnelInterface struct { // Port - Port of gateway load balancer tunnel interface. Port *int32 `json:"port,omitempty"` // Identifier - Identifier of gateway load balancer tunnel interface. Identifier *int32 `json:"identifier,omitempty"` // Protocol - Protocol of gateway load balancer tunnel interface. Possible values include: 'GatewayLoadBalancerTunnelProtocolNone', 'GatewayLoadBalancerTunnelProtocolNative', 'GatewayLoadBalancerTunnelProtocolVXLAN' Protocol GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` // Type - Traffic type of gateway load balancer tunnel interface. Possible values include: 'GatewayLoadBalancerTunnelInterfaceTypeNone', 'GatewayLoadBalancerTunnelInterfaceTypeInternal', 'GatewayLoadBalancerTunnelInterfaceTypeExternal' Type GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` }
GatewayLoadBalancerTunnelInterfaceType enumerates the values for gateway load balancer tunnel interface type.
type GatewayLoadBalancerTunnelInterfaceType string
const ( // GatewayLoadBalancerTunnelInterfaceTypeExternal ... GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External" // GatewayLoadBalancerTunnelInterfaceTypeInternal ... GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal" // GatewayLoadBalancerTunnelInterfaceTypeNone ... GatewayLoadBalancerTunnelInterfaceTypeNone GatewayLoadBalancerTunnelInterfaceType = "None" )
func PossibleGatewayLoadBalancerTunnelInterfaceTypeValues() []GatewayLoadBalancerTunnelInterfaceType
PossibleGatewayLoadBalancerTunnelInterfaceTypeValues returns an array of possible values for the GatewayLoadBalancerTunnelInterfaceType const type.
GatewayLoadBalancerTunnelProtocol enumerates the values for gateway load balancer tunnel protocol.
type GatewayLoadBalancerTunnelProtocol string
const ( // GatewayLoadBalancerTunnelProtocolNative ... GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native" // GatewayLoadBalancerTunnelProtocolNone ... GatewayLoadBalancerTunnelProtocolNone GatewayLoadBalancerTunnelProtocol = "None" // GatewayLoadBalancerTunnelProtocolVXLAN ... GatewayLoadBalancerTunnelProtocolVXLAN GatewayLoadBalancerTunnelProtocol = "VXLAN" )
func PossibleGatewayLoadBalancerTunnelProtocolValues() []GatewayLoadBalancerTunnelProtocol
PossibleGatewayLoadBalancerTunnelProtocolValues returns an array of possible values for the GatewayLoadBalancerTunnelProtocol const type.
GatewayRoute gateway routing details.
type GatewayRoute struct { // LocalAddress - READ-ONLY; The gateway's local address. LocalAddress *string `json:"localAddress,omitempty"` // NetworkProperty - READ-ONLY; The route's network prefix. NetworkProperty *string `json:"network,omitempty"` // NextHop - READ-ONLY; The route's next hop. NextHop *string `json:"nextHop,omitempty"` // SourcePeer - READ-ONLY; The peer this route was learned from. SourcePeer *string `json:"sourcePeer,omitempty"` // Origin - READ-ONLY; The source this route was learned from. Origin *string `json:"origin,omitempty"` // AsPath - READ-ONLY; The route's AS path sequence. AsPath *string `json:"asPath,omitempty"` // Weight - READ-ONLY; The route's weight. Weight *int32 `json:"weight,omitempty"` }
func (gr GatewayRoute) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GatewayRoute.
GatewayRouteListResult list of virtual network gateway routes.
type GatewayRouteListResult struct { autorest.Response `json:"-"` // Value - List of gateway routes. Value *[]GatewayRoute `json:"value,omitempty"` }
GenerateExpressRoutePortsLOARequest the customer name to be printed on a letter of authorization.
type GenerateExpressRoutePortsLOARequest struct { // CustomerName - The customer name. CustomerName *string `json:"customerName,omitempty"` }
GenerateExpressRoutePortsLOAResult response for GenerateExpressRoutePortsLOA API service call.
type GenerateExpressRoutePortsLOAResult struct { autorest.Response `json:"-"` // EncodedContent - The content as a base64 encoded string. EncodedContent *string `json:"encodedContent,omitempty"` }
GeneratevirtualwanvpnserverconfigurationvpnprofileFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type GeneratevirtualwanvpnserverconfigurationvpnprofileFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (VpnProfileResponse, error) }
func (future *GeneratevirtualwanvpnserverconfigurationvpnprofileFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
GetActiveSessionsAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type GetActiveSessionsAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (BastionActiveSessionListResultPage, error) }
func (future *GetActiveSessionsAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
GetActiveSessionsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type GetActiveSessionsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (BastionActiveSessionListResultPage, error) }
func (future *GetActiveSessionsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
GetVpnSitesConfigurationRequest list of Vpn-Sites.
type GetVpnSitesConfigurationRequest struct { // VpnSites - List of resource-ids of the vpn-sites for which config is to be downloaded. VpnSites *[]string `json:"vpnSites,omitempty"` // OutputBlobSasURL - The sas-url to download the configurations for vpn-sites. OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"` }
HTTPConfiguration HTTP configuration of the connectivity check.
type HTTPConfiguration struct { // Method - HTTP method. Possible values include: 'HTTPMethodGet' Method HTTPMethod `json:"method,omitempty"` // Headers - List of HTTP headers. Headers *[]HTTPHeader `json:"headers,omitempty"` // ValidStatusCodes - Valid status codes. ValidStatusCodes *[]int32 `json:"validStatusCodes,omitempty"` }
HTTPConfigurationMethod enumerates the values for http configuration method.
type HTTPConfigurationMethod string
const ( // HTTPConfigurationMethodGet ... HTTPConfigurationMethodGet HTTPConfigurationMethod = "Get" // HTTPConfigurationMethodPost ... HTTPConfigurationMethodPost HTTPConfigurationMethod = "Post" )
func PossibleHTTPConfigurationMethodValues() []HTTPConfigurationMethod
PossibleHTTPConfigurationMethodValues returns an array of possible values for the HTTPConfigurationMethod const type.
HTTPHeader the HTTP header.
type HTTPHeader struct { // Name - The name in HTTP header. Name *string `json:"name,omitempty"` // Value - The value in HTTP header. Value *string `json:"value,omitempty"` }
HTTPMethod enumerates the values for http method.
type HTTPMethod string
const ( // HTTPMethodGet ... HTTPMethodGet HTTPMethod = "Get" )
func PossibleHTTPMethodValues() []HTTPMethod
PossibleHTTPMethodValues returns an array of possible values for the HTTPMethod const type.
HopLink hop link.
type HopLink struct { // NextHopID - READ-ONLY; The ID of the next hop. NextHopID *string `json:"nextHopId,omitempty"` // LinkType - READ-ONLY; Link type. LinkType *string `json:"linkType,omitempty"` // HopLinkProperties - Hop link properties. *HopLinkProperties `json:"properties,omitempty"` // Issues - READ-ONLY; List of issues. Issues *[]ConnectivityIssue `json:"issues,omitempty"` // Context - READ-ONLY; Provides additional context on links. Context map[string]*string `json:"context"` // ResourceID - READ-ONLY; Resource ID. ResourceID *string `json:"resourceId,omitempty"` }
func (hl HopLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HopLink.
func (hl *HopLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HopLink struct.
HopLinkProperties hop link properties.
type HopLinkProperties struct { // RoundTripTimeMin - READ-ONLY; Minimum roundtrip time in milliseconds. RoundTripTimeMin *int64 `json:"roundTripTimeMin,omitempty"` // RoundTripTimeAvg - READ-ONLY; Average roundtrip time in milliseconds. RoundTripTimeAvg *int64 `json:"roundTripTimeAvg,omitempty"` // RoundTripTimeMax - READ-ONLY; Maximum roundtrip time in milliseconds. RoundTripTimeMax *int64 `json:"roundTripTimeMax,omitempty"` }
func (hlp HopLinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HopLinkProperties.
HubBgpConnectionStatus enumerates the values for hub bgp connection status.
type HubBgpConnectionStatus string
const ( // HubBgpConnectionStatusConnected ... HubBgpConnectionStatusConnected HubBgpConnectionStatus = "Connected" // HubBgpConnectionStatusConnecting ... HubBgpConnectionStatusConnecting HubBgpConnectionStatus = "Connecting" // HubBgpConnectionStatusNotConnected ... HubBgpConnectionStatusNotConnected HubBgpConnectionStatus = "NotConnected" // HubBgpConnectionStatusUnknown ... HubBgpConnectionStatusUnknown HubBgpConnectionStatus = "Unknown" )
func PossibleHubBgpConnectionStatusValues() []HubBgpConnectionStatus
PossibleHubBgpConnectionStatusValues returns an array of possible values for the HubBgpConnectionStatus const type.
HubIPAddresses IP addresses associated with azure firewall.
type HubIPAddresses struct { // PublicIPs - Public IP addresses associated with azure firewall. PublicIPs *HubPublicIPAddresses `json:"publicIPs,omitempty"` // PrivateIPAddress - Private IP Address associated with azure firewall. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` }
HubIPConfiguration ipConfigurations.
type HubIPConfiguration struct { autorest.Response `json:"-"` // HubIPConfigurationPropertiesFormat - The properties of the Virtual Hub IPConfigurations. *HubIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - Name of the Ip Configuration. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Ipconfiguration type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (hic HubIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubIPConfiguration.
func (hic *HubIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HubIPConfiguration struct.
HubIPConfigurationPropertiesFormat properties of IP configuration.
type HubIPConfigurationPropertiesFormat struct { // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - The reference to the subnet resource. Subnet *Subnet `json:"subnet,omitempty"` // PublicIPAddress - The reference to the public IP resource. PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (hicpf HubIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubIPConfigurationPropertiesFormat.
HubPublicIPAddresses public IP addresses associated with azure firewall.
type HubPublicIPAddresses struct { // Addresses - The list of Public IP addresses associated with azure firewall or IP addresses to be retained. Addresses *[]AzureFirewallPublicIPAddress `json:"addresses,omitempty"` // Count - The number of Public IP addresses associated with azure firewall. Count *int32 `json:"count,omitempty"` }
HubRoute routeTable route.
type HubRoute struct { // Name - The name of the Route that is unique within a RouteTable. This name can be used to access this route. Name *string `json:"name,omitempty"` // DestinationType - The type of destinations (eg: CIDR, ResourceId, Service). DestinationType *string `json:"destinationType,omitempty"` // Destinations - List of all destinations. Destinations *[]string `json:"destinations,omitempty"` // NextHopType - The type of next hop (eg: ResourceId). NextHopType *string `json:"nextHopType,omitempty"` // NextHop - NextHop resource ID. NextHop *string `json:"nextHop,omitempty"` }
HubRouteTable routeTable resource in a virtual hub.
type HubRouteTable struct { autorest.Response `json:"-"` // HubRouteTableProperties - Properties of the RouteTable resource. *HubRouteTableProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (hrt HubRouteTable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubRouteTable.
func (hrt *HubRouteTable) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HubRouteTable struct.
HubRouteTableProperties parameters for RouteTable.
type HubRouteTableProperties struct { // Routes - List of all routes. Routes *[]HubRoute `json:"routes,omitempty"` // Labels - List of labels associated with this route table. Labels *[]string `json:"labels,omitempty"` // AssociatedConnections - READ-ONLY; List of all connections associated with this route table. AssociatedConnections *[]string `json:"associatedConnections,omitempty"` // PropagatingConnections - READ-ONLY; List of all connections that advertise to this route table. PropagatingConnections *[]string `json:"propagatingConnections,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the RouteTable resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (hrtp HubRouteTableProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubRouteTableProperties.
HubRouteTablesClient is the network Client
type HubRouteTablesClient struct { BaseClient }
func NewHubRouteTablesClient(subscriptionID string) HubRouteTablesClient
NewHubRouteTablesClient creates an instance of the HubRouteTablesClient client.
func NewHubRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) HubRouteTablesClient
NewHubRouteTablesClientWithBaseURI creates an instance of the HubRouteTablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client HubRouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, routeTableParameters HubRouteTable) (result HubRouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. routeTableName - the name of the RouteTable. routeTableParameters - parameters supplied to create or update RouteTable.
func (client HubRouteTablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, routeTableParameters HubRouteTable) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client HubRouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result HubRouteTable, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client HubRouteTablesClient) CreateOrUpdateSender(req *http.Request) (future HubRouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client HubRouteTablesClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (result HubRouteTablesDeleteFuture, err error)
Delete deletes a RouteTable. Parameters: resourceGroupName - the resource group name of the RouteTable. virtualHubName - the name of the VirtualHub. routeTableName - the name of the RouteTable.
func (client HubRouteTablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client HubRouteTablesClient) 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 HubRouteTablesClient) DeleteSender(req *http.Request) (future HubRouteTablesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client HubRouteTablesClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (result HubRouteTable, err error)
Get retrieves the details of a RouteTable. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. routeTableName - the name of the RouteTable.
func (client HubRouteTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client HubRouteTablesClient) GetResponder(resp *http.Response) (result HubRouteTable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client HubRouteTablesClient) 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 HubRouteTablesClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubRouteTablesResultPage, err error)
List retrieves the details of all RouteTables. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client HubRouteTablesClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubRouteTablesResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client HubRouteTablesClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client HubRouteTablesClient) ListResponder(resp *http.Response) (result ListHubRouteTablesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client HubRouteTablesClient) 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.
HubRouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type HubRouteTablesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(HubRouteTablesClient) (HubRouteTable, error) }
func (future *HubRouteTablesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
HubRouteTablesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type HubRouteTablesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(HubRouteTablesClient) (autorest.Response, error) }
func (future *HubRouteTablesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
HubRoutingPreference enumerates the values for hub routing preference.
type HubRoutingPreference string
const ( // HubRoutingPreferenceASPath ... HubRoutingPreferenceASPath HubRoutingPreference = "ASPath" // HubRoutingPreferenceExpressRoute ... HubRoutingPreferenceExpressRoute HubRoutingPreference = "ExpressRoute" // HubRoutingPreferenceVpnGateway ... HubRoutingPreferenceVpnGateway HubRoutingPreference = "VpnGateway" )
func PossibleHubRoutingPreferenceValues() []HubRoutingPreference
PossibleHubRoutingPreferenceValues returns an array of possible values for the HubRoutingPreference const type.
HubVirtualNetworkConnection hubVirtualNetworkConnection Resource.
type HubVirtualNetworkConnection struct { autorest.Response `json:"-"` // HubVirtualNetworkConnectionProperties - Properties of the hub virtual network connection. *HubVirtualNetworkConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (hvnc HubVirtualNetworkConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubVirtualNetworkConnection.
func (hvnc *HubVirtualNetworkConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HubVirtualNetworkConnection struct.
HubVirtualNetworkConnectionProperties parameters for HubVirtualNetworkConnection.
type HubVirtualNetworkConnectionProperties struct { // RemoteVirtualNetwork - Reference to the remote virtual network. RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` // AllowHubToRemoteVnetTransit - Deprecated: VirtualHub to RemoteVnet transit to enabled or not. AllowHubToRemoteVnetTransit *bool `json:"allowHubToRemoteVnetTransit,omitempty"` // AllowRemoteVnetToUseHubVnetGateways - Deprecated: Allow RemoteVnet to use Virtual Hub's gateways. AllowRemoteVnetToUseHubVnetGateways *bool `json:"allowRemoteVnetToUseHubVnetGateways,omitempty"` // EnableInternetSecurity - Enable internet security. EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` // RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection. RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the hub virtual network connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (hvncp HubVirtualNetworkConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HubVirtualNetworkConnectionProperties.
HubVirtualNetworkConnectionStatus enumerates the values for hub virtual network connection status.
type HubVirtualNetworkConnectionStatus string
const ( // HubVirtualNetworkConnectionStatusConnected ... HubVirtualNetworkConnectionStatusConnected HubVirtualNetworkConnectionStatus = "Connected" // HubVirtualNetworkConnectionStatusConnecting ... HubVirtualNetworkConnectionStatusConnecting HubVirtualNetworkConnectionStatus = "Connecting" // HubVirtualNetworkConnectionStatusNotConnected ... HubVirtualNetworkConnectionStatusNotConnected HubVirtualNetworkConnectionStatus = "NotConnected" // HubVirtualNetworkConnectionStatusUnknown ... HubVirtualNetworkConnectionStatusUnknown HubVirtualNetworkConnectionStatus = "Unknown" )
func PossibleHubVirtualNetworkConnectionStatusValues() []HubVirtualNetworkConnectionStatus
PossibleHubVirtualNetworkConnectionStatusValues returns an array of possible values for the HubVirtualNetworkConnectionStatus const type.
HubVirtualNetworkConnectionsClient is the network Client
type HubVirtualNetworkConnectionsClient struct { BaseClient }
func NewHubVirtualNetworkConnectionsClient(subscriptionID string) HubVirtualNetworkConnectionsClient
NewHubVirtualNetworkConnectionsClient creates an instance of the HubVirtualNetworkConnectionsClient client.
func NewHubVirtualNetworkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HubVirtualNetworkConnectionsClient
NewHubVirtualNetworkConnectionsClientWithBaseURI creates an instance of the HubVirtualNetworkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client HubVirtualNetworkConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, hubVirtualNetworkConnectionParameters HubVirtualNetworkConnection) (result HubVirtualNetworkConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a hub virtual network connection if it doesn't exist else updates the existing one. Parameters: resourceGroupName - the resource group name of the HubVirtualNetworkConnection. virtualHubName - the name of the VirtualHub. connectionName - the name of the HubVirtualNetworkConnection. hubVirtualNetworkConnectionParameters - parameters supplied to create or update a hub virtual network connection.
func (client HubVirtualNetworkConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, hubVirtualNetworkConnectionParameters HubVirtualNetworkConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client HubVirtualNetworkConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result HubVirtualNetworkConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client HubVirtualNetworkConnectionsClient) CreateOrUpdateSender(req *http.Request) (future HubVirtualNetworkConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client HubVirtualNetworkConnectionsClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result HubVirtualNetworkConnectionsDeleteFuture, err error)
Delete deletes a HubVirtualNetworkConnection. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. connectionName - the name of the HubVirtualNetworkConnection.
func (client HubVirtualNetworkConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client HubVirtualNetworkConnectionsClient) 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 HubVirtualNetworkConnectionsClient) DeleteSender(req *http.Request) (future HubVirtualNetworkConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client HubVirtualNetworkConnectionsClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result HubVirtualNetworkConnection, err error)
Get retrieves the details of a HubVirtualNetworkConnection. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. connectionName - the name of the vpn connection.
func (client HubVirtualNetworkConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client HubVirtualNetworkConnectionsClient) GetResponder(resp *http.Response) (result HubVirtualNetworkConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client HubVirtualNetworkConnectionsClient) 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 HubVirtualNetworkConnectionsClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubVirtualNetworkConnectionsResultPage, err error)
List retrieves the details of all HubVirtualNetworkConnections. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client HubVirtualNetworkConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubVirtualNetworkConnectionsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client HubVirtualNetworkConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client HubVirtualNetworkConnectionsClient) ListResponder(resp *http.Response) (result ListHubVirtualNetworkConnectionsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client HubVirtualNetworkConnectionsClient) 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.
HubVirtualNetworkConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type HubVirtualNetworkConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(HubVirtualNetworkConnectionsClient) (HubVirtualNetworkConnection, error) }
func (future *HubVirtualNetworkConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
HubVirtualNetworkConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type HubVirtualNetworkConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(HubVirtualNetworkConnectionsClient) (autorest.Response, error) }
func (future *HubVirtualNetworkConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IDPSQueryObject will describe the query to run against the IDPS signatures DB
type IDPSQueryObject struct { // Filters - Contain all filters names and values Filters *[]FilterItems `json:"filters,omitempty"` // Search - Search term in all columns Search *string `json:"search,omitempty"` // OrderBy - Column to sort response by OrderBy *OrderBy `json:"orderBy,omitempty"` // ResultsPerPage - The number of the results to return in each page ResultsPerPage *int32 `json:"resultsPerPage,omitempty"` // Skip - The number of records matching the filter to skip Skip *int32 `json:"skip,omitempty"` }
IPAddressAvailabilityResult response for CheckIPAddressAvailability API service call.
type IPAddressAvailabilityResult struct { autorest.Response `json:"-"` // Available - Private IP address availability. Available *bool `json:"available,omitempty"` // AvailableIPAddresses - Contains other available private IP addresses if the asked for address is taken. AvailableIPAddresses *[]string `json:"availableIPAddresses,omitempty"` // IsPlatformReserved - Private IP address platform reserved. IsPlatformReserved *bool `json:"isPlatformReserved,omitempty"` }
IPAllocation ipAllocation resource.
type IPAllocation struct { autorest.Response `json:"-"` // IPAllocationPropertiesFormat - Properties of the IpAllocation. *IPAllocationPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ia IPAllocation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPAllocation.
func (ia *IPAllocation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IPAllocation struct.
IPAllocationListResult response for the ListIpAllocations API service call.
type IPAllocationListResult struct { autorest.Response `json:"-"` // Value - A list of IpAllocation resources. Value *[]IPAllocation `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ialr IPAllocationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
IPAllocationListResultIterator provides access to a complete listing of IPAllocation values.
type IPAllocationListResultIterator struct {
// contains filtered or unexported fields
}
func NewIPAllocationListResultIterator(page IPAllocationListResultPage) IPAllocationListResultIterator
Creates a new instance of the IPAllocationListResultIterator type.
func (iter *IPAllocationListResultIterator) 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 *IPAllocationListResultIterator) 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 IPAllocationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter IPAllocationListResultIterator) Response() IPAllocationListResult
Response returns the raw server response from the last page request.
func (iter IPAllocationListResultIterator) Value() IPAllocation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
IPAllocationListResultPage contains a page of IPAllocation values.
type IPAllocationListResultPage struct {
// contains filtered or unexported fields
}
func NewIPAllocationListResultPage(cur IPAllocationListResult, getNextPage func(context.Context, IPAllocationListResult) (IPAllocationListResult, error)) IPAllocationListResultPage
Creates a new instance of the IPAllocationListResultPage type.
func (page *IPAllocationListResultPage) 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 *IPAllocationListResultPage) 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 IPAllocationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page IPAllocationListResultPage) Response() IPAllocationListResult
Response returns the raw server response from the last page request.
func (page IPAllocationListResultPage) Values() []IPAllocation
Values returns the slice of values for the current page or nil if there are no values.
IPAllocationMethod enumerates the values for ip allocation method.
type IPAllocationMethod string
const ( // IPAllocationMethodDynamic ... IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" // IPAllocationMethodStatic ... IPAllocationMethodStatic IPAllocationMethod = "Static" )
func PossibleIPAllocationMethodValues() []IPAllocationMethod
PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.
IPAllocationPropertiesFormat properties of the IpAllocation.
type IPAllocationPropertiesFormat struct { // Subnet - READ-ONLY; The Subnet that using the prefix of this IpAllocation resource. Subnet *SubResource `json:"subnet,omitempty"` // VirtualNetwork - READ-ONLY; The VirtualNetwork that using the prefix of this IpAllocation resource. VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` // Type - The type for the IpAllocation. Possible values include: 'IPAllocationTypeUndefined', 'IPAllocationTypeHypernet' Type IPAllocationType `json:"type,omitempty"` // Prefix - The address prefix for the IpAllocation. Prefix *string `json:"prefix,omitempty"` // PrefixLength - The address prefix length for the IpAllocation. PrefixLength *int32 `json:"prefixLength,omitempty"` // PrefixType - The address prefix Type for the IpAllocation. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PrefixType IPVersion `json:"prefixType,omitempty"` // IpamAllocationID - The IPAM allocation ID. IpamAllocationID *string `json:"ipamAllocationId,omitempty"` // AllocationTags - IpAllocation tags. AllocationTags map[string]*string `json:"allocationTags"` }
func (iapf IPAllocationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPAllocationPropertiesFormat.
IPAllocationType enumerates the values for ip allocation type.
type IPAllocationType string
const ( // IPAllocationTypeHypernet ... IPAllocationTypeHypernet IPAllocationType = "Hypernet" // IPAllocationTypeUndefined ... IPAllocationTypeUndefined IPAllocationType = "Undefined" )
func PossibleIPAllocationTypeValues() []IPAllocationType
PossibleIPAllocationTypeValues returns an array of possible values for the IPAllocationType const type.
IPAllocationsClient is the network Client
type IPAllocationsClient struct { BaseClient }
func NewIPAllocationsClient(subscriptionID string) IPAllocationsClient
NewIPAllocationsClient creates an instance of the IPAllocationsClient client.
func NewIPAllocationsClientWithBaseURI(baseURI string, subscriptionID string) IPAllocationsClient
NewIPAllocationsClientWithBaseURI creates an instance of the IPAllocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client IPAllocationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, IPAllocationName string, parameters IPAllocation) (result IPAllocationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an IpAllocation in the specified resource group. Parameters: resourceGroupName - the name of the resource group. IPAllocationName - the name of the IpAllocation. parameters - parameters supplied to the create or update virtual network operation.
func (client IPAllocationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, IPAllocationName string, parameters IPAllocation) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client IPAllocationsClient) CreateOrUpdateResponder(resp *http.Response) (result IPAllocation, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client IPAllocationsClient) CreateOrUpdateSender(req *http.Request) (future IPAllocationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client IPAllocationsClient) Delete(ctx context.Context, resourceGroupName string, IPAllocationName string) (result IPAllocationsDeleteFuture, err error)
Delete deletes the specified IpAllocation. Parameters: resourceGroupName - the name of the resource group. IPAllocationName - the name of the IpAllocation.
func (client IPAllocationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, IPAllocationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client IPAllocationsClient) 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 IPAllocationsClient) DeleteSender(req *http.Request) (future IPAllocationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client IPAllocationsClient) Get(ctx context.Context, resourceGroupName string, IPAllocationName string, expand string) (result IPAllocation, err error)
Get gets the specified IpAllocation by resource group. Parameters: resourceGroupName - the name of the resource group. IPAllocationName - the name of the IpAllocation. expand - expands referenced resources.
func (client IPAllocationsClient) GetPreparer(ctx context.Context, resourceGroupName string, IPAllocationName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client IPAllocationsClient) GetResponder(resp *http.Response) (result IPAllocation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client IPAllocationsClient) 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 IPAllocationsClient) List(ctx context.Context) (result IPAllocationListResultPage, err error)
List gets all IpAllocations in a subscription.
func (client IPAllocationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IPAllocationListResultPage, err error)
ListByResourceGroup gets all IpAllocations in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client IPAllocationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result IPAllocationListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client IPAllocationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client IPAllocationsClient) ListByResourceGroupResponder(resp *http.Response) (result IPAllocationListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client IPAllocationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client IPAllocationsClient) ListComplete(ctx context.Context) (result IPAllocationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client IPAllocationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client IPAllocationsClient) ListResponder(resp *http.Response) (result IPAllocationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client IPAllocationsClient) 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.
func (client IPAllocationsClient) UpdateTags(ctx context.Context, resourceGroupName string, IPAllocationName string, parameters TagsObject) (result IPAllocation, err error)
UpdateTags updates a IpAllocation tags. Parameters: resourceGroupName - the name of the resource group. IPAllocationName - the name of the IpAllocation. parameters - parameters supplied to update IpAllocation tags.
func (client IPAllocationsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, IPAllocationName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client IPAllocationsClient) UpdateTagsResponder(resp *http.Response) (result IPAllocation, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client IPAllocationsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
IPAllocationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type IPAllocationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IPAllocationsClient) (IPAllocation, error) }
func (future *IPAllocationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IPAllocationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type IPAllocationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IPAllocationsClient) (autorest.Response, error) }
func (future *IPAllocationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IPConfiguration IP configuration.
type IPConfiguration struct { // IPConfigurationPropertiesFormat - Properties of the IP configuration. *IPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (ic IPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfiguration.
func (ic *IPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IPConfiguration struct.
IPConfigurationBgpPeeringAddress properties of IPConfigurationBgpPeeringAddress.
type IPConfigurationBgpPeeringAddress struct { // IpconfigurationID - The ID of IP configuration which belongs to gateway. IpconfigurationID *string `json:"ipconfigurationId,omitempty"` // DefaultBgpIPAddresses - READ-ONLY; The list of default BGP peering addresses which belong to IP configuration. DefaultBgpIPAddresses *[]string `json:"defaultBgpIpAddresses,omitempty"` // CustomBgpIPAddresses - The list of custom BGP peering addresses which belong to IP configuration. CustomBgpIPAddresses *[]string `json:"customBgpIpAddresses,omitempty"` // TunnelIPAddresses - READ-ONLY; The list of tunnel public IP addresses which belong to IP configuration. TunnelIPAddresses *[]string `json:"tunnelIpAddresses,omitempty"` }
func (icbpa IPConfigurationBgpPeeringAddress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfigurationBgpPeeringAddress.
IPConfigurationProfile IP configuration profile child resource.
type IPConfigurationProfile struct { // IPConfigurationProfilePropertiesFormat - Properties of the IP configuration profile. *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Sub Resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (icp IPConfigurationProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfigurationProfile.
func (icp *IPConfigurationProfile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IPConfigurationProfile struct.
IPConfigurationProfilePropertiesFormat IP configuration profile properties.
type IPConfigurationProfilePropertiesFormat struct { // Subnet - The reference to the subnet resource to create a container network interface ip configuration. Subnet *Subnet `json:"subnet,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the IP configuration profile resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (icppf IPConfigurationProfilePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfigurationProfilePropertiesFormat.
IPConfigurationPropertiesFormat properties of IP configuration.
type IPConfigurationPropertiesFormat struct { // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - The reference to the subnet resource. Subnet *Subnet `json:"subnet,omitempty"` // PublicIPAddress - The reference to the public IP resource. PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (icpf IPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfigurationPropertiesFormat.
IPFlowProtocol enumerates the values for ip flow protocol.
type IPFlowProtocol string
const ( // IPFlowProtocolTCP ... IPFlowProtocolTCP IPFlowProtocol = "TCP" // IPFlowProtocolUDP ... IPFlowProtocolUDP IPFlowProtocol = "UDP" )
func PossibleIPFlowProtocolValues() []IPFlowProtocol
PossibleIPFlowProtocolValues returns an array of possible values for the IPFlowProtocol const type.
IPGroup the IpGroups resource information.
type IPGroup struct { autorest.Response `json:"-"` // IPGroupPropertiesFormat - Properties of the IpGroups. *IPGroupPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ig IPGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPGroup.
func (ig *IPGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IPGroup struct.
IPGroupListResult response for the ListIpGroups API service call.
type IPGroupListResult struct { autorest.Response `json:"-"` // Value - The list of IpGroups information resources. Value *[]IPGroup `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (iglr IPGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
IPGroupListResultIterator provides access to a complete listing of IPGroup values.
type IPGroupListResultIterator struct {
// contains filtered or unexported fields
}
func NewIPGroupListResultIterator(page IPGroupListResultPage) IPGroupListResultIterator
Creates a new instance of the IPGroupListResultIterator type.
func (iter *IPGroupListResultIterator) 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 *IPGroupListResultIterator) 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 IPGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter IPGroupListResultIterator) Response() IPGroupListResult
Response returns the raw server response from the last page request.
func (iter IPGroupListResultIterator) Value() IPGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
IPGroupListResultPage contains a page of IPGroup values.
type IPGroupListResultPage struct {
// contains filtered or unexported fields
}
func NewIPGroupListResultPage(cur IPGroupListResult, getNextPage func(context.Context, IPGroupListResult) (IPGroupListResult, error)) IPGroupListResultPage
Creates a new instance of the IPGroupListResultPage type.
func (page *IPGroupListResultPage) 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 *IPGroupListResultPage) 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 IPGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page IPGroupListResultPage) Response() IPGroupListResult
Response returns the raw server response from the last page request.
func (page IPGroupListResultPage) Values() []IPGroup
Values returns the slice of values for the current page or nil if there are no values.
IPGroupPropertiesFormat the IpGroups property information.
type IPGroupPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the IpGroups resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // IPAddresses - IpAddresses/IpAddressPrefixes in the IpGroups resource. IPAddresses *[]string `json:"ipAddresses,omitempty"` // Firewalls - READ-ONLY; List of references to Firewall resources that this IpGroups is associated with. Firewalls *[]SubResource `json:"firewalls,omitempty"` // FirewallPolicies - READ-ONLY; List of references to Firewall Policies resources that this IpGroups is associated with. FirewallPolicies *[]SubResource `json:"firewallPolicies,omitempty"` }
func (igpf IPGroupPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPGroupPropertiesFormat.
IPGroupsClient is the network Client
type IPGroupsClient struct { BaseClient }
func NewIPGroupsClient(subscriptionID string) IPGroupsClient
NewIPGroupsClient creates an instance of the IPGroupsClient client.
func NewIPGroupsClientWithBaseURI(baseURI string, subscriptionID string) IPGroupsClient
NewIPGroupsClientWithBaseURI creates an instance of the IPGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client IPGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, IPGroupsName string, parameters IPGroup) (result IPGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an ipGroups in a specified resource group. Parameters: resourceGroupName - the name of the resource group. IPGroupsName - the name of the ipGroups. parameters - parameters supplied to the create or update IpGroups operation.
func (client IPGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, IPGroupsName string, parameters IPGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client IPGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result IPGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client IPGroupsClient) CreateOrUpdateSender(req *http.Request) (future IPGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client IPGroupsClient) Delete(ctx context.Context, resourceGroupName string, IPGroupsName string) (result IPGroupsDeleteFuture, err error)
Delete deletes the specified ipGroups. Parameters: resourceGroupName - the name of the resource group. IPGroupsName - the name of the ipGroups.
func (client IPGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, IPGroupsName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client IPGroupsClient) 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 IPGroupsClient) DeleteSender(req *http.Request) (future IPGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client IPGroupsClient) Get(ctx context.Context, resourceGroupName string, IPGroupsName string, expand string) (result IPGroup, err error)
Get gets the specified ipGroups. Parameters: resourceGroupName - the name of the resource group. IPGroupsName - the name of the ipGroups. expand - expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.
func (client IPGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, IPGroupsName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client IPGroupsClient) GetResponder(resp *http.Response) (result IPGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client IPGroupsClient) 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 IPGroupsClient) List(ctx context.Context) (result IPGroupListResultPage, err error)
List gets all IpGroups in a subscription.
func (client IPGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IPGroupListResultPage, err error)
ListByResourceGroup gets all IpGroups in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client IPGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result IPGroupListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client IPGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client IPGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result IPGroupListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client IPGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client IPGroupsClient) ListComplete(ctx context.Context) (result IPGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client IPGroupsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client IPGroupsClient) ListResponder(resp *http.Response) (result IPGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client IPGroupsClient) 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.
func (client IPGroupsClient) UpdateGroups(ctx context.Context, resourceGroupName string, IPGroupsName string, parameters TagsObject) (result IPGroup, err error)
UpdateGroups updates tags of an IpGroups resource. Parameters: resourceGroupName - the name of the resource group. IPGroupsName - the name of the ipGroups. parameters - parameters supplied to the update ipGroups operation.
func (client IPGroupsClient) UpdateGroupsPreparer(ctx context.Context, resourceGroupName string, IPGroupsName string, parameters TagsObject) (*http.Request, error)
UpdateGroupsPreparer prepares the UpdateGroups request.
func (client IPGroupsClient) UpdateGroupsResponder(resp *http.Response) (result IPGroup, err error)
UpdateGroupsResponder handles the response to the UpdateGroups request. The method always closes the http.Response Body.
func (client IPGroupsClient) UpdateGroupsSender(req *http.Request) (*http.Response, error)
UpdateGroupsSender sends the UpdateGroups request. The method will close the http.Response Body if it receives an error.
IPGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type IPGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IPGroupsClient) (IPGroup, error) }
func (future *IPGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IPGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type IPGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IPGroupsClient) (autorest.Response, error) }
func (future *IPGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IPTag contains the IpTag associated with the object.
type IPTag struct { // IPTagType - The IP tag type. Example: FirstPartyUsage. IPTagType *string `json:"ipTagType,omitempty"` // Tag - The value of the IP tag associated with the public IP. Example: SQL. Tag *string `json:"tag,omitempty"` }
IPVersion enumerates the values for ip version.
type IPVersion string
const ( // IPVersionIPv4 ... IPVersionIPv4 IPVersion = "IPv4" // IPVersionIPv6 ... IPVersionIPv6 IPVersion = "IPv6" )
func PossibleIPVersionValues() []IPVersion
PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
IkeEncryption enumerates the values for ike encryption.
type IkeEncryption string
const ( // IkeEncryptionAES128 ... IkeEncryptionAES128 IkeEncryption = "AES128" // IkeEncryptionAES192 ... IkeEncryptionAES192 IkeEncryption = "AES192" // IkeEncryptionAES256 ... IkeEncryptionAES256 IkeEncryption = "AES256" // IkeEncryptionDES ... IkeEncryptionDES IkeEncryption = "DES" // IkeEncryptionDES3 ... IkeEncryptionDES3 IkeEncryption = "DES3" // IkeEncryptionGCMAES128 ... IkeEncryptionGCMAES128 IkeEncryption = "GCMAES128" // IkeEncryptionGCMAES256 ... IkeEncryptionGCMAES256 IkeEncryption = "GCMAES256" )
func PossibleIkeEncryptionValues() []IkeEncryption
PossibleIkeEncryptionValues returns an array of possible values for the IkeEncryption const type.
IkeIntegrity enumerates the values for ike integrity.
type IkeIntegrity string
const ( // IkeIntegrityGCMAES128 ... IkeIntegrityGCMAES128 IkeIntegrity = "GCMAES128" // IkeIntegrityGCMAES256 ... IkeIntegrityGCMAES256 IkeIntegrity = "GCMAES256" // IkeIntegrityMD5 ... IkeIntegrityMD5 IkeIntegrity = "MD5" // IkeIntegritySHA1 ... IkeIntegritySHA1 IkeIntegrity = "SHA1" // IkeIntegritySHA256 ... IkeIntegritySHA256 IkeIntegrity = "SHA256" // IkeIntegritySHA384 ... IkeIntegritySHA384 IkeIntegrity = "SHA384" )
func PossibleIkeIntegrityValues() []IkeIntegrity
PossibleIkeIntegrityValues returns an array of possible values for the IkeIntegrity const type.
InboundNatPool inbound NAT pool of the load balancer.
type InboundNatPool struct { // InboundNatPoolPropertiesFormat - Properties of load balancer inbound nat pool. *InboundNatPoolPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (inp InboundNatPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatPool.
func (inp *InboundNatPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InboundNatPool struct.
InboundNatPoolPropertiesFormat properties of Inbound NAT pool.
type InboundNatPoolPropertiesFormat struct { // FrontendIPConfiguration - A reference to frontend IP addresses. FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // Protocol - The reference to the transport protocol used by the inbound NAT pool. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll' Protocol TransportProtocol `json:"protocol,omitempty"` // FrontendPortRangeStart - The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"` // FrontendPortRangeEnd - The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"` // BackendPort - The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. BackendPort *int32 `json:"backendPort,omitempty"` // IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` // EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTCPReset *bool `json:"enableTcpReset,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the inbound NAT pool resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (inppf InboundNatPoolPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatPoolPropertiesFormat.
InboundNatRule inbound NAT rule of the load balancer.
type InboundNatRule struct { autorest.Response `json:"-"` // InboundNatRulePropertiesFormat - Properties of load balancer inbound NAT rule. *InboundNatRulePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (inr InboundNatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatRule.
func (inr *InboundNatRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InboundNatRule struct.
InboundNatRuleListResult response for ListInboundNatRule API service call.
type InboundNatRuleListResult struct { autorest.Response `json:"-"` // Value - A list of inbound NAT rules in a load balancer. Value *[]InboundNatRule `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (inrlr InboundNatRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (inrlr InboundNatRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatRuleListResult.
InboundNatRuleListResultIterator provides access to a complete listing of InboundNatRule values.
type InboundNatRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewInboundNatRuleListResultIterator(page InboundNatRuleListResultPage) InboundNatRuleListResultIterator
Creates a new instance of the InboundNatRuleListResultIterator type.
func (iter *InboundNatRuleListResultIterator) 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 *InboundNatRuleListResultIterator) 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 InboundNatRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InboundNatRuleListResultIterator) Response() InboundNatRuleListResult
Response returns the raw server response from the last page request.
func (iter InboundNatRuleListResultIterator) Value() InboundNatRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
InboundNatRuleListResultPage contains a page of InboundNatRule values.
type InboundNatRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewInboundNatRuleListResultPage(cur InboundNatRuleListResult, getNextPage func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error)) InboundNatRuleListResultPage
Creates a new instance of the InboundNatRuleListResultPage type.
func (page *InboundNatRuleListResultPage) 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 *InboundNatRuleListResultPage) 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 InboundNatRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InboundNatRuleListResultPage) Response() InboundNatRuleListResult
Response returns the raw server response from the last page request.
func (page InboundNatRuleListResultPage) Values() []InboundNatRule
Values returns the slice of values for the current page or nil if there are no values.
InboundNatRulePortMapping individual port mappings for inbound NAT rule created for backend pool.
type InboundNatRulePortMapping struct { // InboundNatRuleName - READ-ONLY; Name of inbound NAT rule. InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` // Protocol - READ-ONLY; The reference to the transport protocol used by the inbound NAT rule. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll' Protocol TransportProtocol `json:"protocol,omitempty"` // FrontendPort - READ-ONLY; Frontend port. FrontendPort *int32 `json:"frontendPort,omitempty"` // BackendPort - READ-ONLY; Backend port. BackendPort *int32 `json:"backendPort,omitempty"` }
func (inrpm InboundNatRulePortMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatRulePortMapping.
InboundNatRulePropertiesFormat properties of the inbound NAT rule.
type InboundNatRulePropertiesFormat struct { // FrontendIPConfiguration - A reference to frontend IP addresses. FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // BackendIPConfiguration - READ-ONLY; A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. BackendIPConfiguration *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"` // Protocol - The reference to the transport protocol used by the load balancing rule. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll' Protocol TransportProtocol `json:"protocol,omitempty"` // FrontendPort - The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. FrontendPort *int32 `json:"frontendPort,omitempty"` // BackendPort - The port used for the internal endpoint. Acceptable values range from 1 to 65535. BackendPort *int32 `json:"backendPort,omitempty"` // IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` // EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTCPReset *bool `json:"enableTcpReset,omitempty"` // FrontendPortRangeStart - The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"` // FrontendPortRangeEnd - The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"` // BackendAddressPool - A reference to backendAddressPool resource. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the inbound NAT rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (inrpf InboundNatRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatRulePropertiesFormat.
InboundNatRulesClient is the network Client
type InboundNatRulesClient struct { BaseClient }
func NewInboundNatRulesClient(subscriptionID string) InboundNatRulesClient
NewInboundNatRulesClient creates an instance of the InboundNatRulesClient client.
func NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) InboundNatRulesClient
NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InboundNatRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule) (result InboundNatRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a load balancer inbound NAT rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound NAT rule. inboundNatRuleParameters - parameters supplied to the create or update inbound NAT rule operation.
func (client InboundNatRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client InboundNatRulesClient) CreateOrUpdateResponder(resp *http.Response) (result InboundNatRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client InboundNatRulesClient) CreateOrUpdateSender(req *http.Request) (future InboundNatRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client InboundNatRulesClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (result InboundNatRulesDeleteFuture, err error)
Delete deletes the specified load balancer inbound NAT rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound NAT rule.
func (client InboundNatRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client InboundNatRulesClient) 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 InboundNatRulesClient) DeleteSender(req *http.Request) (future InboundNatRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client InboundNatRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (result InboundNatRule, err error)
Get gets the specified load balancer inbound NAT rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound NAT rule. expand - expands referenced resources.
func (client InboundNatRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client InboundNatRulesClient) GetResponder(resp *http.Response) (result InboundNatRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client InboundNatRulesClient) 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 InboundNatRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResultPage, err error)
List gets all the inbound NAT rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client InboundNatRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client InboundNatRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client InboundNatRulesClient) ListResponder(resp *http.Response) (result InboundNatRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client InboundNatRulesClient) 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.
InboundNatRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InboundNatRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InboundNatRulesClient) (InboundNatRule, error) }
func (future *InboundNatRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InboundNatRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InboundNatRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InboundNatRulesClient) (autorest.Response, error) }
func (future *InboundNatRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InboundSecurityRule NVA Inbound Security Rule resource.
type InboundSecurityRule struct { autorest.Response `json:"-"` // InboundSecurityRuleProperties - The properties of the Inbound Security Rules. *InboundSecurityRuleProperties `json:"properties,omitempty"` // Name - Name of security rule collection. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; NVA inbound security rule type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (isr InboundSecurityRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundSecurityRule.
func (isr *InboundSecurityRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InboundSecurityRule struct.
InboundSecurityRuleClient is the network Client
type InboundSecurityRuleClient struct { BaseClient }
func NewInboundSecurityRuleClient(subscriptionID string) InboundSecurityRuleClient
NewInboundSecurityRuleClient creates an instance of the InboundSecurityRuleClient client.
func NewInboundSecurityRuleClientWithBaseURI(baseURI string, subscriptionID string) InboundSecurityRuleClient
NewInboundSecurityRuleClientWithBaseURI creates an instance of the InboundSecurityRuleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InboundSecurityRuleClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, ruleCollectionName string, parameters InboundSecurityRule) (result InboundSecurityRuleCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Network Virtual Appliance Inbound Security Rules. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of the Network Virtual Appliance. ruleCollectionName - the name of security rule collection. parameters - parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
func (client InboundSecurityRuleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, ruleCollectionName string, parameters InboundSecurityRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client InboundSecurityRuleClient) CreateOrUpdateResponder(resp *http.Response) (result InboundSecurityRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client InboundSecurityRuleClient) CreateOrUpdateSender(req *http.Request) (future InboundSecurityRuleCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
InboundSecurityRuleCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InboundSecurityRuleCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InboundSecurityRuleClient) (InboundSecurityRule, error) }
func (future *InboundSecurityRuleCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InboundSecurityRuleProperties properties of the Inbound Security Rules resource.
type InboundSecurityRuleProperties struct { // Rules - List of allowed rules. Rules *[]InboundSecurityRules `json:"rules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (isrp InboundSecurityRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundSecurityRuleProperties.
InboundSecurityRules properties of the Inbound Security Rules resource.
type InboundSecurityRules struct { // Protocol - Protocol. This should be either TCP or UDP. Possible values include: 'InboundSecurityRulesProtocolTCP', 'InboundSecurityRulesProtocolUDP' Protocol InboundSecurityRulesProtocol `json:"protocol,omitempty"` // SourceAddressPrefix - The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed. SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` // DestinationPortRange - NVA port ranges to be opened up. One needs to provide specific ports. DestinationPortRange *int32 `json:"destinationPortRange,omitempty"` }
InboundSecurityRulesProtocol enumerates the values for inbound security rules protocol.
type InboundSecurityRulesProtocol string
const ( // InboundSecurityRulesProtocolTCP ... InboundSecurityRulesProtocolTCP InboundSecurityRulesProtocol = "TCP" // InboundSecurityRulesProtocolUDP ... InboundSecurityRulesProtocolUDP InboundSecurityRulesProtocol = "UDP" )
func PossibleInboundSecurityRulesProtocolValues() []InboundSecurityRulesProtocol
PossibleInboundSecurityRulesProtocolValues returns an array of possible values for the InboundSecurityRulesProtocol const type.
IntentPolicy network Intent Policy resource.
type IntentPolicy struct { // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (IP IntentPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IntentPolicy.
IntentPolicyConfiguration details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.
type IntentPolicyConfiguration struct { // NetworkIntentPolicyName - The name of the Network Intent Policy for storing in target subscription. NetworkIntentPolicyName *string `json:"networkIntentPolicyName,omitempty"` // SourceNetworkIntentPolicy - Source network intent policy. SourceNetworkIntentPolicy *IntentPolicy `json:"sourceNetworkIntentPolicy,omitempty"` }
Interface a network interface in a resource group.
type Interface struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the network interface. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // InterfacePropertiesFormat - Properties of the network interface. *InterfacePropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (i Interface) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Interface.
func (i *Interface) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Interface struct.
InterfaceAssociation network interface and its custom security rules.
type InterfaceAssociation struct { // ID - READ-ONLY; Network interface ID. ID *string `json:"id,omitempty"` // SecurityRules - Collection of custom security rules. SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` }
func (ia InterfaceAssociation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceAssociation.
InterfaceAuxiliaryMode enumerates the values for interface auxiliary mode.
type InterfaceAuxiliaryMode string
const ( // InterfaceAuxiliaryModeFloating ... InterfaceAuxiliaryModeFloating InterfaceAuxiliaryMode = "Floating" // InterfaceAuxiliaryModeMaxConnections ... InterfaceAuxiliaryModeMaxConnections InterfaceAuxiliaryMode = "MaxConnections" // InterfaceAuxiliaryModeNone ... InterfaceAuxiliaryModeNone InterfaceAuxiliaryMode = "None" )
func PossibleInterfaceAuxiliaryModeValues() []InterfaceAuxiliaryMode
PossibleInterfaceAuxiliaryModeValues returns an array of possible values for the InterfaceAuxiliaryMode const type.
InterfaceDNSSettings DNS settings of a network interface.
type InterfaceDNSSettings struct { // DNSServers - List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection. DNSServers *[]string `json:"dnsServers,omitempty"` // AppliedDNSServers - READ-ONLY; If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs. AppliedDNSServers *[]string `json:"appliedDnsServers,omitempty"` // InternalDNSNameLabel - Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"` // InternalFqdn - READ-ONLY; Fully qualified DNS name supporting internal communications between VMs in the same virtual network. InternalFqdn *string `json:"internalFqdn,omitempty"` // InternalDomainNameSuffix - READ-ONLY; Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix. InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"` }
func (ids InterfaceDNSSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceDNSSettings.
InterfaceIPConfiguration iPConfiguration in a network interface.
type InterfaceIPConfiguration struct { autorest.Response `json:"-"` // InterfaceIPConfigurationPropertiesFormat - Network interface IP configuration properties. *InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (iic InterfaceIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceIPConfiguration.
func (iic *InterfaceIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InterfaceIPConfiguration struct.
InterfaceIPConfigurationListResult response for list ip configurations API service call.
type InterfaceIPConfigurationListResult struct { autorest.Response `json:"-"` // Value - A list of ip configurations. Value *[]InterfaceIPConfiguration `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (iiclr InterfaceIPConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (iiclr InterfaceIPConfigurationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceIPConfigurationListResult.
InterfaceIPConfigurationListResultIterator provides access to a complete listing of InterfaceIPConfiguration values.
type InterfaceIPConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
func NewInterfaceIPConfigurationListResultIterator(page InterfaceIPConfigurationListResultPage) InterfaceIPConfigurationListResultIterator
Creates a new instance of the InterfaceIPConfigurationListResultIterator type.
func (iter *InterfaceIPConfigurationListResultIterator) 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 *InterfaceIPConfigurationListResultIterator) 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 InterfaceIPConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InterfaceIPConfigurationListResultIterator) Response() InterfaceIPConfigurationListResult
Response returns the raw server response from the last page request.
func (iter InterfaceIPConfigurationListResultIterator) Value() InterfaceIPConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
InterfaceIPConfigurationListResultPage contains a page of InterfaceIPConfiguration values.
type InterfaceIPConfigurationListResultPage struct {
// contains filtered or unexported fields
}
func NewInterfaceIPConfigurationListResultPage(cur InterfaceIPConfigurationListResult, getNextPage func(context.Context, InterfaceIPConfigurationListResult) (InterfaceIPConfigurationListResult, error)) InterfaceIPConfigurationListResultPage
Creates a new instance of the InterfaceIPConfigurationListResultPage type.
func (page *InterfaceIPConfigurationListResultPage) 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 *InterfaceIPConfigurationListResultPage) 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 InterfaceIPConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InterfaceIPConfigurationListResultPage) Response() InterfaceIPConfigurationListResult
Response returns the raw server response from the last page request.
func (page InterfaceIPConfigurationListResultPage) Values() []InterfaceIPConfiguration
Values returns the slice of values for the current page or nil if there are no values.
InterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnection properties for the network interface.
type InterfaceIPConfigurationPrivateLinkConnectionProperties struct { // GroupID - READ-ONLY; The group ID for current private link connection. GroupID *string `json:"groupId,omitempty"` // RequiredMemberName - READ-ONLY; The required member name for current private link connection. RequiredMemberName *string `json:"requiredMemberName,omitempty"` // Fqdns - READ-ONLY; List of FQDNs for current private link connection. Fqdns *[]string `json:"fqdns,omitempty"` }
func (iicplcp InterfaceIPConfigurationPrivateLinkConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceIPConfigurationPrivateLinkConnectionProperties.
InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
type InterfaceIPConfigurationPropertiesFormat struct { // GatewayLoadBalancer - The reference to gateway load balancer frontend IP. GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` // VirtualNetworkTaps - The reference to Virtual Network Taps. VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` // ApplicationGatewayBackendAddressPools - The reference to ApplicationGatewayBackendAddressPool resource. ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` // LoadBalancerBackendAddressPools - The reference to LoadBalancerBackendAddressPool resource. LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` // LoadBalancerInboundNatRules - A list of references of LoadBalancerInboundNatRules. LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` // PrivateIPAddress - Private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // PrivateIPAddressVersion - Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` // Subnet - Subnet bound to the IP configuration. Subnet *Subnet `json:"subnet,omitempty"` // Primary - Whether this is a primary customer address on the network interface. Primary *bool `json:"primary,omitempty"` // PublicIPAddress - Public IP address bound to the IP configuration. PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` // ApplicationSecurityGroups - Application security groups in which the IP configuration is included. ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network interface IP configuration. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateLinkConnectionProperties - READ-ONLY; PrivateLinkConnection properties for the network interface. PrivateLinkConnectionProperties *InterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"` }
func (iicpf InterfaceIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceIPConfigurationPropertiesFormat.
InterfaceIPConfigurationsClient is the network Client
type InterfaceIPConfigurationsClient struct { BaseClient }
func NewInterfaceIPConfigurationsClient(subscriptionID string) InterfaceIPConfigurationsClient
NewInterfaceIPConfigurationsClient creates an instance of the InterfaceIPConfigurationsClient client.
func NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceIPConfigurationsClient
NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InterfaceIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (result InterfaceIPConfiguration, err error)
Get gets the specified network interface ip configuration. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the ip configuration name.
func (client InterfaceIPConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client InterfaceIPConfigurationsClient) GetResponder(resp *http.Response) (result InterfaceIPConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client InterfaceIPConfigurationsClient) 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 InterfaceIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResultPage, err error)
List get all ip configurations in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfaceIPConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfaceIPConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client InterfaceIPConfigurationsClient) ListResponder(resp *http.Response) (result InterfaceIPConfigurationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client InterfaceIPConfigurationsClient) 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.
InterfaceListResult response for the ListNetworkInterface API service call.
type InterfaceListResult struct { autorest.Response `json:"-"` // Value - A list of network interfaces in a resource group. Value *[]Interface `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ilr InterfaceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ilr InterfaceListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceListResult.
InterfaceListResultIterator provides access to a complete listing of Interface values.
type InterfaceListResultIterator struct {
// contains filtered or unexported fields
}
func NewInterfaceListResultIterator(page InterfaceListResultPage) InterfaceListResultIterator
Creates a new instance of the InterfaceListResultIterator type.
func (iter *InterfaceListResultIterator) 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 *InterfaceListResultIterator) 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 InterfaceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InterfaceListResultIterator) Response() InterfaceListResult
Response returns the raw server response from the last page request.
func (iter InterfaceListResultIterator) Value() Interface
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
InterfaceListResultPage contains a page of Interface values.
type InterfaceListResultPage struct {
// contains filtered or unexported fields
}
func NewInterfaceListResultPage(cur InterfaceListResult, getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage
Creates a new instance of the InterfaceListResultPage type.
func (page *InterfaceListResultPage) 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 *InterfaceListResultPage) 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 InterfaceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InterfaceListResultPage) Response() InterfaceListResult
Response returns the raw server response from the last page request.
func (page InterfaceListResultPage) Values() []Interface
Values returns the slice of values for the current page or nil if there are no values.
InterfaceLoadBalancerListResult response for list ip configurations API service call.
type InterfaceLoadBalancerListResult struct { autorest.Response `json:"-"` // Value - A list of load balancers. Value *[]LoadBalancer `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ilblr InterfaceLoadBalancerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ilblr InterfaceLoadBalancerListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceLoadBalancerListResult.
InterfaceLoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.
type InterfaceLoadBalancerListResultIterator struct {
// contains filtered or unexported fields
}
func NewInterfaceLoadBalancerListResultIterator(page InterfaceLoadBalancerListResultPage) InterfaceLoadBalancerListResultIterator
Creates a new instance of the InterfaceLoadBalancerListResultIterator type.
func (iter *InterfaceLoadBalancerListResultIterator) 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 *InterfaceLoadBalancerListResultIterator) 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 InterfaceLoadBalancerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InterfaceLoadBalancerListResultIterator) Response() InterfaceLoadBalancerListResult
Response returns the raw server response from the last page request.
func (iter InterfaceLoadBalancerListResultIterator) Value() LoadBalancer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
InterfaceLoadBalancerListResultPage contains a page of LoadBalancer values.
type InterfaceLoadBalancerListResultPage struct {
// contains filtered or unexported fields
}
func NewInterfaceLoadBalancerListResultPage(cur InterfaceLoadBalancerListResult, getNextPage func(context.Context, InterfaceLoadBalancerListResult) (InterfaceLoadBalancerListResult, error)) InterfaceLoadBalancerListResultPage
Creates a new instance of the InterfaceLoadBalancerListResultPage type.
func (page *InterfaceLoadBalancerListResultPage) 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 *InterfaceLoadBalancerListResultPage) 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 InterfaceLoadBalancerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InterfaceLoadBalancerListResultPage) Response() InterfaceLoadBalancerListResult
Response returns the raw server response from the last page request.
func (page InterfaceLoadBalancerListResultPage) Values() []LoadBalancer
Values returns the slice of values for the current page or nil if there are no values.
InterfaceLoadBalancersClient is the network Client
type InterfaceLoadBalancersClient struct { BaseClient }
func NewInterfaceLoadBalancersClient(subscriptionID string) InterfaceLoadBalancersClient
NewInterfaceLoadBalancersClient creates an instance of the InterfaceLoadBalancersClient client.
func NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) InterfaceLoadBalancersClient
NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InterfaceLoadBalancersClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResultPage, err error)
List list all load balancers in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfaceLoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfaceLoadBalancersClient) ListPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client InterfaceLoadBalancersClient) ListResponder(resp *http.Response) (result InterfaceLoadBalancerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client InterfaceLoadBalancersClient) 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.
InterfaceMigrationPhase enumerates the values for interface migration phase.
type InterfaceMigrationPhase string
const ( // InterfaceMigrationPhaseAbort ... InterfaceMigrationPhaseAbort InterfaceMigrationPhase = "Abort" // InterfaceMigrationPhaseCommit ... InterfaceMigrationPhaseCommit InterfaceMigrationPhase = "Commit" // InterfaceMigrationPhaseCommitted ... InterfaceMigrationPhaseCommitted InterfaceMigrationPhase = "Committed" // InterfaceMigrationPhaseNone ... InterfaceMigrationPhaseNone InterfaceMigrationPhase = "None" // InterfaceMigrationPhasePrepare ... InterfaceMigrationPhasePrepare InterfaceMigrationPhase = "Prepare" )
func PossibleInterfaceMigrationPhaseValues() []InterfaceMigrationPhase
PossibleInterfaceMigrationPhaseValues returns an array of possible values for the InterfaceMigrationPhase const type.
InterfaceNicType enumerates the values for interface nic type.
type InterfaceNicType string
const ( // InterfaceNicTypeElastic ... InterfaceNicTypeElastic InterfaceNicType = "Elastic" // InterfaceNicTypeStandard ... InterfaceNicTypeStandard InterfaceNicType = "Standard" )
func PossibleInterfaceNicTypeValues() []InterfaceNicType
PossibleInterfaceNicTypeValues returns an array of possible values for the InterfaceNicType const type.
InterfacePropertiesFormat networkInterface properties.
type InterfacePropertiesFormat struct { // VirtualMachine - READ-ONLY; The reference to a virtual machine. VirtualMachine *SubResource `json:"virtualMachine,omitempty"` // NetworkSecurityGroup - The reference to the NetworkSecurityGroup resource. NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"` // PrivateEndpoint - READ-ONLY; A reference to the private endpoint to which the network interface is linked. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // IPConfigurations - A list of IPConfigurations of the network interface. IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"` // TapConfigurations - READ-ONLY; A list of TapConfigurations of the network interface. TapConfigurations *[]InterfaceTapConfiguration `json:"tapConfigurations,omitempty"` // DNSSettings - The DNS settings in network interface. DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"` // MacAddress - READ-ONLY; The MAC address of the network interface. MacAddress *string `json:"macAddress,omitempty"` // Primary - READ-ONLY; Whether this is a primary network interface on a virtual machine. Primary *bool `json:"primary,omitempty"` // VnetEncryptionSupported - READ-ONLY; Whether the virtual machine this nic is attached to supports encryption. VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty"` // EnableAcceleratedNetworking - If the network interface is accelerated networking enabled. EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` // EnableIPForwarding - Indicates whether IP forwarding is enabled on this network interface. EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` // HostedWorkloads - READ-ONLY; A list of references to linked BareMetal resources. HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"` // DscpConfiguration - READ-ONLY; A reference to the dscp configuration to which the network interface is linked. DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the network interface resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network interface resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // WorkloadType - WorkloadType of the NetworkInterface for BareMetal resources WorkloadType *string `json:"workloadType,omitempty"` // NicType - Type of Network Interface resource. Possible values include: 'InterfaceNicTypeStandard', 'InterfaceNicTypeElastic' NicType InterfaceNicType `json:"nicType,omitempty"` // PrivateLinkService - Privatelinkservice of the network interface resource. PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` // MigrationPhase - Migration phase of Network Interface resource. Possible values include: 'InterfaceMigrationPhaseNone', 'InterfaceMigrationPhasePrepare', 'InterfaceMigrationPhaseCommit', 'InterfaceMigrationPhaseAbort', 'InterfaceMigrationPhaseCommitted' MigrationPhase InterfaceMigrationPhase `json:"migrationPhase,omitempty"` // AuxiliaryMode - Auxiliary mode of Network Interface resource. Possible values include: 'InterfaceAuxiliaryModeNone', 'InterfaceAuxiliaryModeMaxConnections', 'InterfaceAuxiliaryModeFloating' AuxiliaryMode InterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` }
func (ipf InterfacePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfacePropertiesFormat.
InterfaceTapConfiguration tap configuration in a Network Interface.
type InterfaceTapConfiguration struct { autorest.Response `json:"-"` // InterfaceTapConfigurationPropertiesFormat - Properties of the Virtual Network Tap configuration. *InterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Sub Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (itc InterfaceTapConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceTapConfiguration.
func (itc *InterfaceTapConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InterfaceTapConfiguration struct.
InterfaceTapConfigurationListResult response for list tap configurations API service call.
type InterfaceTapConfigurationListResult struct { autorest.Response `json:"-"` // Value - A list of tap configurations. Value *[]InterfaceTapConfiguration `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (itclr InterfaceTapConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (itclr InterfaceTapConfigurationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceTapConfigurationListResult.
InterfaceTapConfigurationListResultIterator provides access to a complete listing of InterfaceTapConfiguration values.
type InterfaceTapConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
func NewInterfaceTapConfigurationListResultIterator(page InterfaceTapConfigurationListResultPage) InterfaceTapConfigurationListResultIterator
Creates a new instance of the InterfaceTapConfigurationListResultIterator type.
func (iter *InterfaceTapConfigurationListResultIterator) 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 *InterfaceTapConfigurationListResultIterator) 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 InterfaceTapConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InterfaceTapConfigurationListResultIterator) Response() InterfaceTapConfigurationListResult
Response returns the raw server response from the last page request.
func (iter InterfaceTapConfigurationListResultIterator) Value() InterfaceTapConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
InterfaceTapConfigurationListResultPage contains a page of InterfaceTapConfiguration values.
type InterfaceTapConfigurationListResultPage struct {
// contains filtered or unexported fields
}
func NewInterfaceTapConfigurationListResultPage(cur InterfaceTapConfigurationListResult, getNextPage func(context.Context, InterfaceTapConfigurationListResult) (InterfaceTapConfigurationListResult, error)) InterfaceTapConfigurationListResultPage
Creates a new instance of the InterfaceTapConfigurationListResultPage type.
func (page *InterfaceTapConfigurationListResultPage) 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 *InterfaceTapConfigurationListResultPage) 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 InterfaceTapConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InterfaceTapConfigurationListResultPage) Response() InterfaceTapConfigurationListResult
Response returns the raw server response from the last page request.
func (page InterfaceTapConfigurationListResultPage) Values() []InterfaceTapConfiguration
Values returns the slice of values for the current page or nil if there are no values.
InterfaceTapConfigurationPropertiesFormat properties of Virtual Network Tap configuration.
type InterfaceTapConfigurationPropertiesFormat struct { // VirtualNetworkTap - The reference to the Virtual Network Tap resource. VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network interface tap configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (itcpf InterfaceTapConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceTapConfigurationPropertiesFormat.
InterfaceTapConfigurationsClient is the network Client
type InterfaceTapConfigurationsClient struct { BaseClient }
func NewInterfaceTapConfigurationsClient(subscriptionID string) InterfaceTapConfigurationsClient
NewInterfaceTapConfigurationsClient creates an instance of the InterfaceTapConfigurationsClient client.
func NewInterfaceTapConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceTapConfigurationsClient
NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InterfaceTapConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, tapConfigurationParameters InterfaceTapConfiguration) (result InterfaceTapConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a Tap configuration in the specified NetworkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration. tapConfigurationParameters - parameters supplied to the create or update tap configuration operation.
func (client InterfaceTapConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, tapConfigurationParameters InterfaceTapConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client InterfaceTapConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result InterfaceTapConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client InterfaceTapConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future InterfaceTapConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client InterfaceTapConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result InterfaceTapConfigurationsDeleteFuture, err error)
Delete deletes the specified tap configuration from the NetworkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration.
func (client InterfaceTapConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client InterfaceTapConfigurationsClient) 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 InterfaceTapConfigurationsClient) DeleteSender(req *http.Request) (future InterfaceTapConfigurationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client InterfaceTapConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result InterfaceTapConfiguration, err error)
Get get the specified tap configuration on a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration.
func (client InterfaceTapConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client InterfaceTapConfigurationsClient) GetResponder(resp *http.Response) (result InterfaceTapConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client InterfaceTapConfigurationsClient) 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 InterfaceTapConfigurationsClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceTapConfigurationListResultPage, err error)
List get all Tap configurations in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfaceTapConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceTapConfigurationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfaceTapConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client InterfaceTapConfigurationsClient) ListResponder(resp *http.Response) (result InterfaceTapConfigurationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client InterfaceTapConfigurationsClient) 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.
InterfaceTapConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfaceTapConfigurationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfaceTapConfigurationsClient) (InterfaceTapConfiguration, error) }
func (future *InterfaceTapConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InterfaceTapConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfaceTapConfigurationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfaceTapConfigurationsClient) (autorest.Response, error) }
func (future *InterfaceTapConfigurationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InterfacesClient is the network Client
type InterfacesClient struct { BaseClient }
func NewInterfacesClient(subscriptionID string) InterfacesClient
NewInterfacesClient creates an instance of the InterfacesClient client.
func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient
NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InterfacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (result InterfacesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. parameters - parameters supplied to the create or update network interface operation.
func (client InterfacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client InterfacesClient) CreateOrUpdateResponder(resp *http.Response) (result Interface, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client InterfacesClient) CreateOrUpdateSender(req *http.Request) (future InterfacesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error)
Delete deletes the specified network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client InterfacesClient) 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 InterfacesClient) DeleteSender(req *http.Request) (future InterfacesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)
Get gets information about the specified network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. expand - expands referenced resources.
func (client InterfacesClient) GetCloudServiceNetworkInterface(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, expand string) (result Interface, err error)
GetCloudServiceNetworkInterface get the specified network interface in a cloud service. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service. roleInstanceName - the name of role instance. networkInterfaceName - the name of the network interface. expand - expands referenced resources.
func (client InterfacesClient) GetCloudServiceNetworkInterfacePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, expand string) (*http.Request, error)
GetCloudServiceNetworkInterfacePreparer prepares the GetCloudServiceNetworkInterface request.
func (client InterfacesClient) GetCloudServiceNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)
GetCloudServiceNetworkInterfaceResponder handles the response to the GetCloudServiceNetworkInterface request. The method always closes the http.Response Body.
func (client InterfacesClient) GetCloudServiceNetworkInterfaceSender(req *http.Request) (*http.Response, error)
GetCloudServiceNetworkInterfaceSender sends the GetCloudServiceNetworkInterface request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) GetEffectiveRouteTable(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesGetEffectiveRouteTableFuture, err error)
GetEffectiveRouteTable gets all route tables applied to a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfacesClient) GetEffectiveRouteTablePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
GetEffectiveRouteTablePreparer prepares the GetEffectiveRouteTable request.
func (client InterfacesClient) GetEffectiveRouteTableResponder(resp *http.Response) (result EffectiveRouteListResult, err error)
GetEffectiveRouteTableResponder handles the response to the GetEffectiveRouteTable request. The method always closes the http.Response Body.
func (client InterfacesClient) GetEffectiveRouteTableSender(req *http.Request) (future InterfacesGetEffectiveRouteTableFuture, err error)
GetEffectiveRouteTableSender sends the GetEffectiveRouteTable request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client InterfacesClient) GetResponder(resp *http.Response) (result Interface, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client InterfacesClient) 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 InterfacesClient) GetVirtualMachineScaleSetIPConfiguration(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (result InterfaceIPConfiguration, err error)
GetVirtualMachineScaleSetIPConfiguration get the specified network interface ip configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the ip configuration. expand - expands referenced resources.
func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (*http.Request, error)
GetVirtualMachineScaleSetIPConfigurationPreparer prepares the GetVirtualMachineScaleSetIPConfiguration request.
func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationResponder(resp *http.Response) (result InterfaceIPConfiguration, err error)
GetVirtualMachineScaleSetIPConfigurationResponder handles the response to the GetVirtualMachineScaleSetIPConfiguration request. The method always closes the http.Response Body.
func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationSender(req *http.Request) (*http.Response, error)
GetVirtualMachineScaleSetIPConfigurationSender sends the GetVirtualMachineScaleSetIPConfiguration request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result Interface, err error)
GetVirtualMachineScaleSetNetworkInterface get the specified network interface in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. expand - expands referenced resources.
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (*http.Request, error)
GetVirtualMachineScaleSetNetworkInterfacePreparer prepares the GetVirtualMachineScaleSetNetworkInterface request.
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)
GetVirtualMachineScaleSetNetworkInterfaceResponder handles the response to the GetVirtualMachineScaleSetNetworkInterface request. The method always closes the http.Response Body.
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender(req *http.Request) (*http.Response, error)
GetVirtualMachineScaleSetNetworkInterfaceSender sends the GetVirtualMachineScaleSetNetworkInterface request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) List(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error)
List gets all network interfaces in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceListResultPage, err error)
ListAll gets all network interfaces in a subscription.
func (client InterfacesClient) ListAllComplete(ctx context.Context) (result InterfaceListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client InterfacesClient) ListAllResponder(resp *http.Response) (result InterfaceListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client InterfacesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListCloudServiceNetworkInterfaces(ctx context.Context, resourceGroupName string, cloudServiceName string) (result InterfaceListResultPage, err error)
ListCloudServiceNetworkInterfaces gets all network interfaces in a cloud service. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service.
func (client InterfacesClient) ListCloudServiceNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result InterfaceListResultIterator, err error)
ListCloudServiceNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListCloudServiceNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
ListCloudServiceNetworkInterfacesPreparer prepares the ListCloudServiceNetworkInterfaces request.
func (client InterfacesClient) ListCloudServiceNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListCloudServiceNetworkInterfacesResponder handles the response to the ListCloudServiceNetworkInterfaces request. The method always closes the http.Response Body.
func (client InterfacesClient) ListCloudServiceNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListCloudServiceNetworkInterfacesSender sends the ListCloudServiceNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListCloudServiceRoleInstanceNetworkInterfaces(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string) (result InterfaceListResultPage, err error)
ListCloudServiceRoleInstanceNetworkInterfaces gets information about all network interfaces in a role instance in a cloud service. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service. roleInstanceName - the name of role instance.
func (client InterfacesClient) ListCloudServiceRoleInstanceNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string) (result InterfaceListResultIterator, err error)
ListCloudServiceRoleInstanceNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListCloudServiceRoleInstanceNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string) (*http.Request, error)
ListCloudServiceRoleInstanceNetworkInterfacesPreparer prepares the ListCloudServiceRoleInstanceNetworkInterfaces request.
func (client InterfacesClient) ListCloudServiceRoleInstanceNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListCloudServiceRoleInstanceNetworkInterfacesResponder handles the response to the ListCloudServiceRoleInstanceNetworkInterfaces request. The method always closes the http.Response Body.
func (client InterfacesClient) ListCloudServiceRoleInstanceNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListCloudServiceRoleInstanceNetworkInterfacesSender sends the ListCloudServiceRoleInstanceNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListComplete(ctx context.Context, resourceGroupName string) (result InterfaceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)
ListEffectiveNetworkSecurityGroups gets all network security groups applied to a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
ListEffectiveNetworkSecurityGroupsPreparer prepares the ListEffectiveNetworkSecurityGroups request.
func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder(resp *http.Response) (result EffectiveNetworkSecurityGroupListResult, err error)
ListEffectiveNetworkSecurityGroupsResponder handles the response to the ListEffectiveNetworkSecurityGroups request. The method always closes the http.Response Body.
func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsSender(req *http.Request) (future InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)
ListEffectiveNetworkSecurityGroupsSender sends the ListEffectiveNetworkSecurityGroups request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client InterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client InterfacesClient) 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.
func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurations(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result InterfaceIPConfigurationListResultPage, err error)
ListVirtualMachineScaleSetIPConfigurations get the specified network interface ip configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. expand - expands referenced resources.
func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result InterfaceIPConfigurationListResultIterator, err error)
ListVirtualMachineScaleSetIPConfigurationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (*http.Request, error)
ListVirtualMachineScaleSetIPConfigurationsPreparer prepares the ListVirtualMachineScaleSetIPConfigurations request.
func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsResponder(resp *http.Response) (result InterfaceIPConfigurationListResult, err error)
ListVirtualMachineScaleSetIPConfigurationsResponder handles the response to the ListVirtualMachineScaleSetIPConfigurations request. The method always closes the http.Response Body.
func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetIPConfigurationsSender sends the ListVirtualMachineScaleSetIPConfigurations request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultPage, err error)
ListVirtualMachineScaleSetNetworkInterfaces gets all network interfaces in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set.
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultIterator, err error)
ListVirtualMachineScaleSetNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)
ListVirtualMachineScaleSetNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetNetworkInterfaces request.
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListVirtualMachineScaleSetNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetNetworkInterfaces request. The method always closes the http.Response Body.
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetNetworkInterfacesSender sends the ListVirtualMachineScaleSetNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultPage, err error)
ListVirtualMachineScaleSetVMNetworkInterfaces gets information about all network interfaces in a virtual machine in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index.
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultIterator, err error)
ListVirtualMachineScaleSetVMNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (*http.Request, error)
ListVirtualMachineScaleSetVMNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetVMNetworkInterfaces request.
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListVirtualMachineScaleSetVMNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method always closes the http.Response Body.
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetVMNetworkInterfacesSender sends the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
func (client InterfacesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject) (result Interface, err error)
UpdateTags updates a network interface tags. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. parameters - parameters supplied to update network interface tags.
func (client InterfacesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client InterfacesClient) UpdateTagsResponder(resp *http.Response) (result Interface, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client InterfacesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
InterfacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfacesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfacesClient) (Interface, error) }
func (future *InterfacesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InterfacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfacesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfacesClient) (autorest.Response, error) }
func (future *InterfacesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InterfacesGetEffectiveRouteTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfacesGetEffectiveRouteTableFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfacesClient) (EffectiveRouteListResult, error) }
func (future *InterfacesGetEffectiveRouteTableFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
InterfacesListEffectiveNetworkSecurityGroupsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type InterfacesListEffectiveNetworkSecurityGroupsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(InterfacesClient) (EffectiveNetworkSecurityGroupListResult, error) }
func (future *InterfacesListEffectiveNetworkSecurityGroupsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
IpsecEncryption enumerates the values for ipsec encryption.
type IpsecEncryption string
const ( // IpsecEncryptionAES128 ... IpsecEncryptionAES128 IpsecEncryption = "AES128" // IpsecEncryptionAES192 ... IpsecEncryptionAES192 IpsecEncryption = "AES192" // IpsecEncryptionAES256 ... IpsecEncryptionAES256 IpsecEncryption = "AES256" // IpsecEncryptionDES ... IpsecEncryptionDES IpsecEncryption = "DES" // IpsecEncryptionDES3 ... IpsecEncryptionDES3 IpsecEncryption = "DES3" // IpsecEncryptionGCMAES128 ... IpsecEncryptionGCMAES128 IpsecEncryption = "GCMAES128" // IpsecEncryptionGCMAES192 ... IpsecEncryptionGCMAES192 IpsecEncryption = "GCMAES192" // IpsecEncryptionGCMAES256 ... IpsecEncryptionGCMAES256 IpsecEncryption = "GCMAES256" // IpsecEncryptionNone ... IpsecEncryptionNone IpsecEncryption = "None" )
func PossibleIpsecEncryptionValues() []IpsecEncryption
PossibleIpsecEncryptionValues returns an array of possible values for the IpsecEncryption const type.
IpsecIntegrity enumerates the values for ipsec integrity.
type IpsecIntegrity string
const ( // IpsecIntegrityGCMAES128 ... IpsecIntegrityGCMAES128 IpsecIntegrity = "GCMAES128" // IpsecIntegrityGCMAES192 ... IpsecIntegrityGCMAES192 IpsecIntegrity = "GCMAES192" // IpsecIntegrityGCMAES256 ... IpsecIntegrityGCMAES256 IpsecIntegrity = "GCMAES256" // IpsecIntegrityMD5 ... IpsecIntegrityMD5 IpsecIntegrity = "MD5" // IpsecIntegritySHA1 ... IpsecIntegritySHA1 IpsecIntegrity = "SHA1" // IpsecIntegritySHA256 ... IpsecIntegritySHA256 IpsecIntegrity = "SHA256" )
func PossibleIpsecIntegrityValues() []IpsecIntegrity
PossibleIpsecIntegrityValues returns an array of possible values for the IpsecIntegrity const type.
IpsecPolicy an IPSec Policy configuration for a virtual network gateway connection.
type IpsecPolicy struct { // SaLifeTimeSeconds - The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel. SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"` // SaDataSizeKilobytes - The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel. SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"` // IpsecEncryption - The IPSec encryption algorithm (IKE phase 1). Possible values include: 'IpsecEncryptionNone', 'IpsecEncryptionDES', 'IpsecEncryptionDES3', 'IpsecEncryptionAES128', 'IpsecEncryptionAES192', 'IpsecEncryptionAES256', 'IpsecEncryptionGCMAES128', 'IpsecEncryptionGCMAES192', 'IpsecEncryptionGCMAES256' IpsecEncryption IpsecEncryption `json:"ipsecEncryption,omitempty"` // IpsecIntegrity - The IPSec integrity algorithm (IKE phase 1). Possible values include: 'IpsecIntegrityMD5', 'IpsecIntegritySHA1', 'IpsecIntegritySHA256', 'IpsecIntegrityGCMAES128', 'IpsecIntegrityGCMAES192', 'IpsecIntegrityGCMAES256' IpsecIntegrity IpsecIntegrity `json:"ipsecIntegrity,omitempty"` // IkeEncryption - The IKE encryption algorithm (IKE phase 2). Possible values include: 'IkeEncryptionDES', 'IkeEncryptionDES3', 'IkeEncryptionAES128', 'IkeEncryptionAES192', 'IkeEncryptionAES256', 'IkeEncryptionGCMAES256', 'IkeEncryptionGCMAES128' IkeEncryption IkeEncryption `json:"ikeEncryption,omitempty"` // IkeIntegrity - The IKE integrity algorithm (IKE phase 2). Possible values include: 'IkeIntegrityMD5', 'IkeIntegritySHA1', 'IkeIntegritySHA256', 'IkeIntegritySHA384', 'IkeIntegrityGCMAES256', 'IkeIntegrityGCMAES128' IkeIntegrity IkeIntegrity `json:"ikeIntegrity,omitempty"` // DhGroup - The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'DhGroupNone', 'DhGroupDHGroup1', 'DhGroupDHGroup2', 'DhGroupDHGroup14', 'DhGroupDHGroup2048', 'DhGroupECP256', 'DhGroupECP384', 'DhGroupDHGroup24' DhGroup DhGroup `json:"dhGroup,omitempty"` // PfsGroup - The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'PfsGroupNone', 'PfsGroupPFS1', 'PfsGroupPFS2', 'PfsGroupPFS2048', 'PfsGroupECP256', 'PfsGroupECP384', 'PfsGroupPFS24', 'PfsGroupPFS14', 'PfsGroupPFSMM' PfsGroup PfsGroup `json:"pfsGroup,omitempty"` }
Ipv6CircuitConnectionConfig iPv6 Circuit Connection properties for global reach.
type Ipv6CircuitConnectionConfig struct { // AddressPrefix - /125 IP address space to carve out customer addresses for global reach. AddressPrefix *string `json:"addressPrefix,omitempty"` // CircuitConnectionStatus - READ-ONLY; Express Route Circuit connection state. Possible values include: 'CircuitConnectionStatusConnected', 'CircuitConnectionStatusConnecting', 'CircuitConnectionStatusDisconnected' CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` }
func (i6ccc Ipv6CircuitConnectionConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Ipv6CircuitConnectionConfig.
Ipv6ExpressRouteCircuitPeeringConfig contains IPv6 peering config.
type Ipv6ExpressRouteCircuitPeeringConfig struct { // PrimaryPeerAddressPrefix - The primary address prefix. PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` // SecondaryPeerAddressPrefix - The secondary address prefix. SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` // MicrosoftPeeringConfig - The Microsoft peering configuration. MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` // RouteFilter - The reference to the RouteFilter resource. RouteFilter *SubResource `json:"routeFilter,omitempty"` // State - The state of peering. Possible values include: 'ExpressRouteCircuitPeeringStateDisabled', 'ExpressRouteCircuitPeeringStateEnabled' State ExpressRouteCircuitPeeringState `json:"state,omitempty"` }
IssueType enumerates the values for issue type.
type IssueType string
const ( // IssueTypeAgentStopped ... IssueTypeAgentStopped IssueType = "AgentStopped" // IssueTypeDNSResolution ... IssueTypeDNSResolution IssueType = "DnsResolution" // IssueTypeGuestFirewall ... IssueTypeGuestFirewall IssueType = "GuestFirewall" // IssueTypeNetworkSecurityRule ... IssueTypeNetworkSecurityRule IssueType = "NetworkSecurityRule" // IssueTypePlatform ... IssueTypePlatform IssueType = "Platform" // IssueTypePortThrottled ... IssueTypePortThrottled IssueType = "PortThrottled" // IssueTypeSocketBind ... IssueTypeSocketBind IssueType = "SocketBind" // IssueTypeUnknown ... IssueTypeUnknown IssueType = "Unknown" // IssueTypeUserDefinedRoute ... IssueTypeUserDefinedRoute IssueType = "UserDefinedRoute" )
func PossibleIssueTypeValues() []IssueType
PossibleIssueTypeValues returns an array of possible values for the IssueType const type.
ListHubRouteTablesResult list of RouteTables and a URL nextLink to get the next set of results.
type ListHubRouteTablesResult struct { autorest.Response `json:"-"` // Value - List of RouteTables. Value *[]HubRouteTable `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lhrtr ListHubRouteTablesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListHubRouteTablesResultIterator provides access to a complete listing of HubRouteTable values.
type ListHubRouteTablesResultIterator struct {
// contains filtered or unexported fields
}
func NewListHubRouteTablesResultIterator(page ListHubRouteTablesResultPage) ListHubRouteTablesResultIterator
Creates a new instance of the ListHubRouteTablesResultIterator type.
func (iter *ListHubRouteTablesResultIterator) 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 *ListHubRouteTablesResultIterator) 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 ListHubRouteTablesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListHubRouteTablesResultIterator) Response() ListHubRouteTablesResult
Response returns the raw server response from the last page request.
func (iter ListHubRouteTablesResultIterator) Value() HubRouteTable
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListHubRouteTablesResultPage contains a page of HubRouteTable values.
type ListHubRouteTablesResultPage struct {
// contains filtered or unexported fields
}
func NewListHubRouteTablesResultPage(cur ListHubRouteTablesResult, getNextPage func(context.Context, ListHubRouteTablesResult) (ListHubRouteTablesResult, error)) ListHubRouteTablesResultPage
Creates a new instance of the ListHubRouteTablesResultPage type.
func (page *ListHubRouteTablesResultPage) 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 *ListHubRouteTablesResultPage) 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 ListHubRouteTablesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListHubRouteTablesResultPage) Response() ListHubRouteTablesResult
Response returns the raw server response from the last page request.
func (page ListHubRouteTablesResultPage) Values() []HubRouteTable
Values returns the slice of values for the current page or nil if there are no values.
ListHubVirtualNetworkConnectionsResult list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.
type ListHubVirtualNetworkConnectionsResult struct { autorest.Response `json:"-"` // Value - List of HubVirtualNetworkConnections. Value *[]HubVirtualNetworkConnection `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lhvncr ListHubVirtualNetworkConnectionsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListHubVirtualNetworkConnectionsResultIterator provides access to a complete listing of HubVirtualNetworkConnection values.
type ListHubVirtualNetworkConnectionsResultIterator struct {
// contains filtered or unexported fields
}
func NewListHubVirtualNetworkConnectionsResultIterator(page ListHubVirtualNetworkConnectionsResultPage) ListHubVirtualNetworkConnectionsResultIterator
Creates a new instance of the ListHubVirtualNetworkConnectionsResultIterator type.
func (iter *ListHubVirtualNetworkConnectionsResultIterator) 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 *ListHubVirtualNetworkConnectionsResultIterator) 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 ListHubVirtualNetworkConnectionsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListHubVirtualNetworkConnectionsResultIterator) Response() ListHubVirtualNetworkConnectionsResult
Response returns the raw server response from the last page request.
func (iter ListHubVirtualNetworkConnectionsResultIterator) Value() HubVirtualNetworkConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListHubVirtualNetworkConnectionsResultPage contains a page of HubVirtualNetworkConnection values.
type ListHubVirtualNetworkConnectionsResultPage struct {
// contains filtered or unexported fields
}
func NewListHubVirtualNetworkConnectionsResultPage(cur ListHubVirtualNetworkConnectionsResult, getNextPage func(context.Context, ListHubVirtualNetworkConnectionsResult) (ListHubVirtualNetworkConnectionsResult, error)) ListHubVirtualNetworkConnectionsResultPage
Creates a new instance of the ListHubVirtualNetworkConnectionsResultPage type.
func (page *ListHubVirtualNetworkConnectionsResultPage) 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 *ListHubVirtualNetworkConnectionsResultPage) 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 ListHubVirtualNetworkConnectionsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListHubVirtualNetworkConnectionsResultPage) Response() ListHubVirtualNetworkConnectionsResult
Response returns the raw server response from the last page request.
func (page ListHubVirtualNetworkConnectionsResultPage) Values() []HubVirtualNetworkConnection
Values returns the slice of values for the current page or nil if there are no values.
ListP2SVpnGatewaysResult result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.
type ListP2SVpnGatewaysResult struct { autorest.Response `json:"-"` // Value - List of P2SVpnGateways. Value *[]P2SVpnGateway `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lpvgr ListP2SVpnGatewaysResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListP2SVpnGatewaysResultIterator provides access to a complete listing of P2SVpnGateway values.
type ListP2SVpnGatewaysResultIterator struct {
// contains filtered or unexported fields
}
func NewListP2SVpnGatewaysResultIterator(page ListP2SVpnGatewaysResultPage) ListP2SVpnGatewaysResultIterator
Creates a new instance of the ListP2SVpnGatewaysResultIterator type.
func (iter *ListP2SVpnGatewaysResultIterator) 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 *ListP2SVpnGatewaysResultIterator) 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 ListP2SVpnGatewaysResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListP2SVpnGatewaysResultIterator) Response() ListP2SVpnGatewaysResult
Response returns the raw server response from the last page request.
func (iter ListP2SVpnGatewaysResultIterator) Value() P2SVpnGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListP2SVpnGatewaysResultPage contains a page of P2SVpnGateway values.
type ListP2SVpnGatewaysResultPage struct {
// contains filtered or unexported fields
}
func NewListP2SVpnGatewaysResultPage(cur ListP2SVpnGatewaysResult, getNextPage func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error)) ListP2SVpnGatewaysResultPage
Creates a new instance of the ListP2SVpnGatewaysResultPage type.
func (page *ListP2SVpnGatewaysResultPage) 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 *ListP2SVpnGatewaysResultPage) 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 ListP2SVpnGatewaysResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListP2SVpnGatewaysResultPage) Response() ListP2SVpnGatewaysResult
Response returns the raw server response from the last page request.
func (page ListP2SVpnGatewaysResultPage) Values() []P2SVpnGateway
Values returns the slice of values for the current page or nil if there are no values.
ListRoutingIntentResult list of the routing intent result and a URL nextLink to get the next set of results.
type ListRoutingIntentResult struct { autorest.Response `json:"-"` // Value - List of RoutingIntent resource. Value *[]RoutingIntent `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lrir ListRoutingIntentResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListRoutingIntentResultIterator provides access to a complete listing of RoutingIntent values.
type ListRoutingIntentResultIterator struct {
// contains filtered or unexported fields
}
func NewListRoutingIntentResultIterator(page ListRoutingIntentResultPage) ListRoutingIntentResultIterator
Creates a new instance of the ListRoutingIntentResultIterator type.
func (iter *ListRoutingIntentResultIterator) 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 *ListRoutingIntentResultIterator) 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 ListRoutingIntentResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListRoutingIntentResultIterator) Response() ListRoutingIntentResult
Response returns the raw server response from the last page request.
func (iter ListRoutingIntentResultIterator) Value() RoutingIntent
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListRoutingIntentResultPage contains a page of RoutingIntent values.
type ListRoutingIntentResultPage struct {
// contains filtered or unexported fields
}
func NewListRoutingIntentResultPage(cur ListRoutingIntentResult, getNextPage func(context.Context, ListRoutingIntentResult) (ListRoutingIntentResult, error)) ListRoutingIntentResultPage
Creates a new instance of the ListRoutingIntentResultPage type.
func (page *ListRoutingIntentResultPage) 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 *ListRoutingIntentResultPage) 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 ListRoutingIntentResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListRoutingIntentResultPage) Response() ListRoutingIntentResult
Response returns the raw server response from the last page request.
func (page ListRoutingIntentResultPage) Values() []RoutingIntent
Values returns the slice of values for the current page or nil if there are no values.
ListString ...
type ListString struct { autorest.Response `json:"-"` Value *[]string `json:"value,omitempty"` }
ListVirtualHubBgpConnectionResults virtualHubBgpConnections list.
type ListVirtualHubBgpConnectionResults struct { autorest.Response `json:"-"` // Value - The list of VirtualHubBgpConnections. Value *[]BgpConnection `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lvhbcr ListVirtualHubBgpConnectionResults) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualHubBgpConnectionResultsIterator provides access to a complete listing of BgpConnection values.
type ListVirtualHubBgpConnectionResultsIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualHubBgpConnectionResultsIterator(page ListVirtualHubBgpConnectionResultsPage) ListVirtualHubBgpConnectionResultsIterator
Creates a new instance of the ListVirtualHubBgpConnectionResultsIterator type.
func (iter *ListVirtualHubBgpConnectionResultsIterator) 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 *ListVirtualHubBgpConnectionResultsIterator) 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 ListVirtualHubBgpConnectionResultsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualHubBgpConnectionResultsIterator) Response() ListVirtualHubBgpConnectionResults
Response returns the raw server response from the last page request.
func (iter ListVirtualHubBgpConnectionResultsIterator) Value() BgpConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualHubBgpConnectionResultsPage contains a page of BgpConnection values.
type ListVirtualHubBgpConnectionResultsPage struct {
// contains filtered or unexported fields
}
func NewListVirtualHubBgpConnectionResultsPage(cur ListVirtualHubBgpConnectionResults, getNextPage func(context.Context, ListVirtualHubBgpConnectionResults) (ListVirtualHubBgpConnectionResults, error)) ListVirtualHubBgpConnectionResultsPage
Creates a new instance of the ListVirtualHubBgpConnectionResultsPage type.
func (page *ListVirtualHubBgpConnectionResultsPage) 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 *ListVirtualHubBgpConnectionResultsPage) 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 ListVirtualHubBgpConnectionResultsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualHubBgpConnectionResultsPage) Response() ListVirtualHubBgpConnectionResults
Response returns the raw server response from the last page request.
func (page ListVirtualHubBgpConnectionResultsPage) Values() []BgpConnection
Values returns the slice of values for the current page or nil if there are no values.
ListVirtualHubIPConfigurationResults virtualHubIpConfigurations list.
type ListVirtualHubIPConfigurationResults struct { autorest.Response `json:"-"` // Value - The list of VirtualHubIpConfigurations. Value *[]HubIPConfiguration `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lvhicr ListVirtualHubIPConfigurationResults) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualHubIPConfigurationResultsIterator provides access to a complete listing of HubIPConfiguration values.
type ListVirtualHubIPConfigurationResultsIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualHubIPConfigurationResultsIterator(page ListVirtualHubIPConfigurationResultsPage) ListVirtualHubIPConfigurationResultsIterator
Creates a new instance of the ListVirtualHubIPConfigurationResultsIterator type.
func (iter *ListVirtualHubIPConfigurationResultsIterator) 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 *ListVirtualHubIPConfigurationResultsIterator) 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 ListVirtualHubIPConfigurationResultsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualHubIPConfigurationResultsIterator) Response() ListVirtualHubIPConfigurationResults
Response returns the raw server response from the last page request.
func (iter ListVirtualHubIPConfigurationResultsIterator) Value() HubIPConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualHubIPConfigurationResultsPage contains a page of HubIPConfiguration values.
type ListVirtualHubIPConfigurationResultsPage struct {
// contains filtered or unexported fields
}
func NewListVirtualHubIPConfigurationResultsPage(cur ListVirtualHubIPConfigurationResults, getNextPage func(context.Context, ListVirtualHubIPConfigurationResults) (ListVirtualHubIPConfigurationResults, error)) ListVirtualHubIPConfigurationResultsPage
Creates a new instance of the ListVirtualHubIPConfigurationResultsPage type.
func (page *ListVirtualHubIPConfigurationResultsPage) 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 *ListVirtualHubIPConfigurationResultsPage) 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 ListVirtualHubIPConfigurationResultsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualHubIPConfigurationResultsPage) Response() ListVirtualHubIPConfigurationResults
Response returns the raw server response from the last page request.
func (page ListVirtualHubIPConfigurationResultsPage) Values() []HubIPConfiguration
Values returns the slice of values for the current page or nil if there are no values.
ListVirtualHubRouteTableV2sResult list of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results.
type ListVirtualHubRouteTableV2sResult struct { autorest.Response `json:"-"` // Value - List of VirtualHubRouteTableV2s. Value *[]VirtualHubRouteTableV2 `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvhrtvr ListVirtualHubRouteTableV2sResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualHubRouteTableV2sResultIterator provides access to a complete listing of VirtualHubRouteTableV2 values.
type ListVirtualHubRouteTableV2sResultIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualHubRouteTableV2sResultIterator(page ListVirtualHubRouteTableV2sResultPage) ListVirtualHubRouteTableV2sResultIterator
Creates a new instance of the ListVirtualHubRouteTableV2sResultIterator type.
func (iter *ListVirtualHubRouteTableV2sResultIterator) 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 *ListVirtualHubRouteTableV2sResultIterator) 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 ListVirtualHubRouteTableV2sResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualHubRouteTableV2sResultIterator) Response() ListVirtualHubRouteTableV2sResult
Response returns the raw server response from the last page request.
func (iter ListVirtualHubRouteTableV2sResultIterator) Value() VirtualHubRouteTableV2
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualHubRouteTableV2sResultPage contains a page of VirtualHubRouteTableV2 values.
type ListVirtualHubRouteTableV2sResultPage struct {
// contains filtered or unexported fields
}
func NewListVirtualHubRouteTableV2sResultPage(cur ListVirtualHubRouteTableV2sResult, getNextPage func(context.Context, ListVirtualHubRouteTableV2sResult) (ListVirtualHubRouteTableV2sResult, error)) ListVirtualHubRouteTableV2sResultPage
Creates a new instance of the ListVirtualHubRouteTableV2sResultPage type.
func (page *ListVirtualHubRouteTableV2sResultPage) 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 *ListVirtualHubRouteTableV2sResultPage) 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 ListVirtualHubRouteTableV2sResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualHubRouteTableV2sResultPage) Response() ListVirtualHubRouteTableV2sResult
Response returns the raw server response from the last page request.
func (page ListVirtualHubRouteTableV2sResultPage) Values() []VirtualHubRouteTableV2
Values returns the slice of values for the current page or nil if there are no values.
ListVirtualHubsResult result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.
type ListVirtualHubsResult struct { autorest.Response `json:"-"` // Value - List of VirtualHubs. Value *[]VirtualHub `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvhr ListVirtualHubsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualHubsResultIterator provides access to a complete listing of VirtualHub values.
type ListVirtualHubsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualHubsResultIterator(page ListVirtualHubsResultPage) ListVirtualHubsResultIterator
Creates a new instance of the ListVirtualHubsResultIterator type.
func (iter *ListVirtualHubsResultIterator) 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 *ListVirtualHubsResultIterator) 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 ListVirtualHubsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualHubsResultIterator) Response() ListVirtualHubsResult
Response returns the raw server response from the last page request.
func (iter ListVirtualHubsResultIterator) Value() VirtualHub
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualHubsResultPage contains a page of VirtualHub values.
type ListVirtualHubsResultPage struct {
// contains filtered or unexported fields
}
func NewListVirtualHubsResultPage(cur ListVirtualHubsResult, getNextPage func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error)) ListVirtualHubsResultPage
Creates a new instance of the ListVirtualHubsResultPage type.
func (page *ListVirtualHubsResultPage) 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 *ListVirtualHubsResultPage) 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 ListVirtualHubsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualHubsResultPage) Response() ListVirtualHubsResult
Response returns the raw server response from the last page request.
func (page ListVirtualHubsResultPage) Values() []VirtualHub
Values returns the slice of values for the current page or nil if there are no values.
ListVirtualNetworkGatewayNatRulesResult result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.
type ListVirtualNetworkGatewayNatRulesResult struct { autorest.Response `json:"-"` // Value - List of Nat Rules. Value *[]VirtualNetworkGatewayNatRule `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvngnrr ListVirtualNetworkGatewayNatRulesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualNetworkGatewayNatRulesResultIterator provides access to a complete listing of VirtualNetworkGatewayNatRule values.
type ListVirtualNetworkGatewayNatRulesResultIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualNetworkGatewayNatRulesResultIterator(page ListVirtualNetworkGatewayNatRulesResultPage) ListVirtualNetworkGatewayNatRulesResultIterator
Creates a new instance of the ListVirtualNetworkGatewayNatRulesResultIterator type.
func (iter *ListVirtualNetworkGatewayNatRulesResultIterator) 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 *ListVirtualNetworkGatewayNatRulesResultIterator) 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 ListVirtualNetworkGatewayNatRulesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualNetworkGatewayNatRulesResultIterator) Response() ListVirtualNetworkGatewayNatRulesResult
Response returns the raw server response from the last page request.
func (iter ListVirtualNetworkGatewayNatRulesResultIterator) Value() VirtualNetworkGatewayNatRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualNetworkGatewayNatRulesResultPage contains a page of VirtualNetworkGatewayNatRule values.
type ListVirtualNetworkGatewayNatRulesResultPage struct {
// contains filtered or unexported fields
}
func NewListVirtualNetworkGatewayNatRulesResultPage(cur ListVirtualNetworkGatewayNatRulesResult, getNextPage func(context.Context, ListVirtualNetworkGatewayNatRulesResult) (ListVirtualNetworkGatewayNatRulesResult, error)) ListVirtualNetworkGatewayNatRulesResultPage
Creates a new instance of the ListVirtualNetworkGatewayNatRulesResultPage type.
func (page *ListVirtualNetworkGatewayNatRulesResultPage) 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 *ListVirtualNetworkGatewayNatRulesResultPage) 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 ListVirtualNetworkGatewayNatRulesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualNetworkGatewayNatRulesResultPage) Response() ListVirtualNetworkGatewayNatRulesResult
Response returns the raw server response from the last page request.
func (page ListVirtualNetworkGatewayNatRulesResultPage) Values() []VirtualNetworkGatewayNatRule
Values returns the slice of values for the current page or nil if there are no values.
ListVirtualWANsResult result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.
type ListVirtualWANsResult struct { autorest.Response `json:"-"` // Value - List of VirtualWANs. Value *[]VirtualWAN `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvwnr ListVirtualWANsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVirtualWANsResultIterator provides access to a complete listing of VirtualWAN values.
type ListVirtualWANsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVirtualWANsResultIterator(page ListVirtualWANsResultPage) ListVirtualWANsResultIterator
Creates a new instance of the ListVirtualWANsResultIterator type.
func (iter *ListVirtualWANsResultIterator) 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 *ListVirtualWANsResultIterator) 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 ListVirtualWANsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVirtualWANsResultIterator) Response() ListVirtualWANsResult
Response returns the raw server response from the last page request.
func (iter ListVirtualWANsResultIterator) Value() VirtualWAN
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVirtualWANsResultPage contains a page of VirtualWAN values.
type ListVirtualWANsResultPage struct {
// contains filtered or unexported fields
}
func NewListVirtualWANsResultPage(cur ListVirtualWANsResult, getNextPage func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error)) ListVirtualWANsResultPage
Creates a new instance of the ListVirtualWANsResultPage type.
func (page *ListVirtualWANsResultPage) 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 *ListVirtualWANsResultPage) 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 ListVirtualWANsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVirtualWANsResultPage) Response() ListVirtualWANsResult
Response returns the raw server response from the last page request.
func (page ListVirtualWANsResultPage) Values() []VirtualWAN
Values returns the slice of values for the current page or nil if there are no values.
ListVpnConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.
type ListVpnConnectionsResult struct { autorest.Response `json:"-"` // Value - List of Vpn Connections. Value *[]VpnConnection `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvcr ListVpnConnectionsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnConnectionsResultIterator provides access to a complete listing of VpnConnection values.
type ListVpnConnectionsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnConnectionsResultIterator(page ListVpnConnectionsResultPage) ListVpnConnectionsResultIterator
Creates a new instance of the ListVpnConnectionsResultIterator type.
func (iter *ListVpnConnectionsResultIterator) 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 *ListVpnConnectionsResultIterator) 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 ListVpnConnectionsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnConnectionsResultIterator) Response() ListVpnConnectionsResult
Response returns the raw server response from the last page request.
func (iter ListVpnConnectionsResultIterator) Value() VpnConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnConnectionsResultPage contains a page of VpnConnection values.
type ListVpnConnectionsResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnConnectionsResultPage(cur ListVpnConnectionsResult, getNextPage func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error)) ListVpnConnectionsResultPage
Creates a new instance of the ListVpnConnectionsResultPage type.
func (page *ListVpnConnectionsResultPage) 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 *ListVpnConnectionsResultPage) 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 ListVpnConnectionsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnConnectionsResultPage) Response() ListVpnConnectionsResult
Response returns the raw server response from the last page request.
func (page ListVpnConnectionsResultPage) Values() []VpnConnection
Values returns the slice of values for the current page or nil if there are no values.
ListVpnGatewayNatRulesResult result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.
type ListVpnGatewayNatRulesResult struct { autorest.Response `json:"-"` // Value - List of Nat Rules. Value *[]VpnGatewayNatRule `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvgnrr ListVpnGatewayNatRulesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnGatewayNatRulesResultIterator provides access to a complete listing of VpnGatewayNatRule values.
type ListVpnGatewayNatRulesResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnGatewayNatRulesResultIterator(page ListVpnGatewayNatRulesResultPage) ListVpnGatewayNatRulesResultIterator
Creates a new instance of the ListVpnGatewayNatRulesResultIterator type.
func (iter *ListVpnGatewayNatRulesResultIterator) 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 *ListVpnGatewayNatRulesResultIterator) 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 ListVpnGatewayNatRulesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnGatewayNatRulesResultIterator) Response() ListVpnGatewayNatRulesResult
Response returns the raw server response from the last page request.
func (iter ListVpnGatewayNatRulesResultIterator) Value() VpnGatewayNatRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnGatewayNatRulesResultPage contains a page of VpnGatewayNatRule values.
type ListVpnGatewayNatRulesResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnGatewayNatRulesResultPage(cur ListVpnGatewayNatRulesResult, getNextPage func(context.Context, ListVpnGatewayNatRulesResult) (ListVpnGatewayNatRulesResult, error)) ListVpnGatewayNatRulesResultPage
Creates a new instance of the ListVpnGatewayNatRulesResultPage type.
func (page *ListVpnGatewayNatRulesResultPage) 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 *ListVpnGatewayNatRulesResultPage) 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 ListVpnGatewayNatRulesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnGatewayNatRulesResultPage) Response() ListVpnGatewayNatRulesResult
Response returns the raw server response from the last page request.
func (page ListVpnGatewayNatRulesResultPage) Values() []VpnGatewayNatRule
Values returns the slice of values for the current page or nil if there are no values.
ListVpnGatewaysResult result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.
type ListVpnGatewaysResult struct { autorest.Response `json:"-"` // Value - List of VpnGateways. Value *[]VpnGateway `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvgr ListVpnGatewaysResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnGatewaysResultIterator provides access to a complete listing of VpnGateway values.
type ListVpnGatewaysResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnGatewaysResultIterator(page ListVpnGatewaysResultPage) ListVpnGatewaysResultIterator
Creates a new instance of the ListVpnGatewaysResultIterator type.
func (iter *ListVpnGatewaysResultIterator) 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 *ListVpnGatewaysResultIterator) 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 ListVpnGatewaysResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnGatewaysResultIterator) Response() ListVpnGatewaysResult
Response returns the raw server response from the last page request.
func (iter ListVpnGatewaysResultIterator) Value() VpnGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnGatewaysResultPage contains a page of VpnGateway values.
type ListVpnGatewaysResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnGatewaysResultPage(cur ListVpnGatewaysResult, getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage
Creates a new instance of the ListVpnGatewaysResultPage type.
func (page *ListVpnGatewaysResultPage) 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 *ListVpnGatewaysResultPage) 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 ListVpnGatewaysResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnGatewaysResultPage) Response() ListVpnGatewaysResult
Response returns the raw server response from the last page request.
func (page ListVpnGatewaysResultPage) Values() []VpnGateway
Values returns the slice of values for the current page or nil if there are no values.
ListVpnServerConfigurationPolicyGroupsResult result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.
type ListVpnServerConfigurationPolicyGroupsResult struct { autorest.Response `json:"-"` // Value - List of VpnServerConfigurationPolicyGroups. Value *[]VpnServerConfigurationPolicyGroup `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvscpgr ListVpnServerConfigurationPolicyGroupsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnServerConfigurationPolicyGroupsResultIterator provides access to a complete listing of VpnServerConfigurationPolicyGroup values.
type ListVpnServerConfigurationPolicyGroupsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnServerConfigurationPolicyGroupsResultIterator(page ListVpnServerConfigurationPolicyGroupsResultPage) ListVpnServerConfigurationPolicyGroupsResultIterator
Creates a new instance of the ListVpnServerConfigurationPolicyGroupsResultIterator type.
func (iter *ListVpnServerConfigurationPolicyGroupsResultIterator) 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 *ListVpnServerConfigurationPolicyGroupsResultIterator) 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 ListVpnServerConfigurationPolicyGroupsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnServerConfigurationPolicyGroupsResultIterator) Response() ListVpnServerConfigurationPolicyGroupsResult
Response returns the raw server response from the last page request.
func (iter ListVpnServerConfigurationPolicyGroupsResultIterator) Value() VpnServerConfigurationPolicyGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnServerConfigurationPolicyGroupsResultPage contains a page of VpnServerConfigurationPolicyGroup values.
type ListVpnServerConfigurationPolicyGroupsResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnServerConfigurationPolicyGroupsResultPage(cur ListVpnServerConfigurationPolicyGroupsResult, getNextPage func(context.Context, ListVpnServerConfigurationPolicyGroupsResult) (ListVpnServerConfigurationPolicyGroupsResult, error)) ListVpnServerConfigurationPolicyGroupsResultPage
Creates a new instance of the ListVpnServerConfigurationPolicyGroupsResultPage type.
func (page *ListVpnServerConfigurationPolicyGroupsResultPage) 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 *ListVpnServerConfigurationPolicyGroupsResultPage) 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 ListVpnServerConfigurationPolicyGroupsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnServerConfigurationPolicyGroupsResultPage) Response() ListVpnServerConfigurationPolicyGroupsResult
Response returns the raw server response from the last page request.
func (page ListVpnServerConfigurationPolicyGroupsResultPage) Values() []VpnServerConfigurationPolicyGroup
Values returns the slice of values for the current page or nil if there are no values.
ListVpnServerConfigurationsResult result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results.
type ListVpnServerConfigurationsResult struct { autorest.Response `json:"-"` // Value - List of VpnServerConfigurations. Value *[]VpnServerConfiguration `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvscr ListVpnServerConfigurationsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnServerConfigurationsResultIterator provides access to a complete listing of VpnServerConfiguration values.
type ListVpnServerConfigurationsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnServerConfigurationsResultIterator(page ListVpnServerConfigurationsResultPage) ListVpnServerConfigurationsResultIterator
Creates a new instance of the ListVpnServerConfigurationsResultIterator type.
func (iter *ListVpnServerConfigurationsResultIterator) 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 *ListVpnServerConfigurationsResultIterator) 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 ListVpnServerConfigurationsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnServerConfigurationsResultIterator) Response() ListVpnServerConfigurationsResult
Response returns the raw server response from the last page request.
func (iter ListVpnServerConfigurationsResultIterator) Value() VpnServerConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnServerConfigurationsResultPage contains a page of VpnServerConfiguration values.
type ListVpnServerConfigurationsResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnServerConfigurationsResultPage(cur ListVpnServerConfigurationsResult, getNextPage func(context.Context, ListVpnServerConfigurationsResult) (ListVpnServerConfigurationsResult, error)) ListVpnServerConfigurationsResultPage
Creates a new instance of the ListVpnServerConfigurationsResultPage type.
func (page *ListVpnServerConfigurationsResultPage) 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 *ListVpnServerConfigurationsResultPage) 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 ListVpnServerConfigurationsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnServerConfigurationsResultPage) Response() ListVpnServerConfigurationsResult
Response returns the raw server response from the last page request.
func (page ListVpnServerConfigurationsResultPage) Values() []VpnServerConfiguration
Values returns the slice of values for the current page or nil if there are no values.
ListVpnSiteLinkConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.
type ListVpnSiteLinkConnectionsResult struct { autorest.Response `json:"-"` // Value - List of VpnSiteLinkConnections. Value *[]VpnSiteLinkConnection `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvslcr ListVpnSiteLinkConnectionsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnSiteLinkConnectionsResultIterator provides access to a complete listing of VpnSiteLinkConnection values.
type ListVpnSiteLinkConnectionsResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnSiteLinkConnectionsResultIterator(page ListVpnSiteLinkConnectionsResultPage) ListVpnSiteLinkConnectionsResultIterator
Creates a new instance of the ListVpnSiteLinkConnectionsResultIterator type.
func (iter *ListVpnSiteLinkConnectionsResultIterator) 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 *ListVpnSiteLinkConnectionsResultIterator) 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 ListVpnSiteLinkConnectionsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnSiteLinkConnectionsResultIterator) Response() ListVpnSiteLinkConnectionsResult
Response returns the raw server response from the last page request.
func (iter ListVpnSiteLinkConnectionsResultIterator) Value() VpnSiteLinkConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnSiteLinkConnectionsResultPage contains a page of VpnSiteLinkConnection values.
type ListVpnSiteLinkConnectionsResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnSiteLinkConnectionsResultPage(cur ListVpnSiteLinkConnectionsResult, getNextPage func(context.Context, ListVpnSiteLinkConnectionsResult) (ListVpnSiteLinkConnectionsResult, error)) ListVpnSiteLinkConnectionsResultPage
Creates a new instance of the ListVpnSiteLinkConnectionsResultPage type.
func (page *ListVpnSiteLinkConnectionsResultPage) 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 *ListVpnSiteLinkConnectionsResultPage) 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 ListVpnSiteLinkConnectionsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnSiteLinkConnectionsResultPage) Response() ListVpnSiteLinkConnectionsResult
Response returns the raw server response from the last page request.
func (page ListVpnSiteLinkConnectionsResultPage) Values() []VpnSiteLinkConnection
Values returns the slice of values for the current page or nil if there are no values.
ListVpnSiteLinksResult result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.
type ListVpnSiteLinksResult struct { autorest.Response `json:"-"` // Value - List of VpnSitesLinks. Value *[]VpnSiteLink `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvslr ListVpnSiteLinksResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnSiteLinksResultIterator provides access to a complete listing of VpnSiteLink values.
type ListVpnSiteLinksResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnSiteLinksResultIterator(page ListVpnSiteLinksResultPage) ListVpnSiteLinksResultIterator
Creates a new instance of the ListVpnSiteLinksResultIterator type.
func (iter *ListVpnSiteLinksResultIterator) 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 *ListVpnSiteLinksResultIterator) 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 ListVpnSiteLinksResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnSiteLinksResultIterator) Response() ListVpnSiteLinksResult
Response returns the raw server response from the last page request.
func (iter ListVpnSiteLinksResultIterator) Value() VpnSiteLink
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnSiteLinksResultPage contains a page of VpnSiteLink values.
type ListVpnSiteLinksResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnSiteLinksResultPage(cur ListVpnSiteLinksResult, getNextPage func(context.Context, ListVpnSiteLinksResult) (ListVpnSiteLinksResult, error)) ListVpnSiteLinksResultPage
Creates a new instance of the ListVpnSiteLinksResultPage type.
func (page *ListVpnSiteLinksResultPage) 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 *ListVpnSiteLinksResultPage) 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 ListVpnSiteLinksResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnSiteLinksResultPage) Response() ListVpnSiteLinksResult
Response returns the raw server response from the last page request.
func (page ListVpnSiteLinksResultPage) Values() []VpnSiteLink
Values returns the slice of values for the current page or nil if there are no values.
ListVpnSitesResult result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.
type ListVpnSitesResult struct { autorest.Response `json:"-"` // Value - List of VpnSites. Value *[]VpnSite `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (lvsr ListVpnSitesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ListVpnSitesResultIterator provides access to a complete listing of VpnSite values.
type ListVpnSitesResultIterator struct {
// contains filtered or unexported fields
}
func NewListVpnSitesResultIterator(page ListVpnSitesResultPage) ListVpnSitesResultIterator
Creates a new instance of the ListVpnSitesResultIterator type.
func (iter *ListVpnSitesResultIterator) 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 *ListVpnSitesResultIterator) 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 ListVpnSitesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListVpnSitesResultIterator) Response() ListVpnSitesResult
Response returns the raw server response from the last page request.
func (iter ListVpnSitesResultIterator) Value() VpnSite
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListVpnSitesResultPage contains a page of VpnSite values.
type ListVpnSitesResultPage struct {
// contains filtered or unexported fields
}
func NewListVpnSitesResultPage(cur ListVpnSitesResult, getNextPage func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error)) ListVpnSitesResultPage
Creates a new instance of the ListVpnSitesResultPage type.
func (page *ListVpnSitesResultPage) 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 *ListVpnSitesResultPage) 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 ListVpnSitesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListVpnSitesResultPage) Response() ListVpnSitesResult
Response returns the raw server response from the last page request.
func (page ListVpnSitesResultPage) Values() []VpnSite
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancer loadBalancer resource.
type LoadBalancer struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the load balancer. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Sku - The load balancer SKU. Sku *LoadBalancerSku `json:"sku,omitempty"` // LoadBalancerPropertiesFormat - Properties of load balancer. *LoadBalancerPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (lb LoadBalancer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancer.
func (lb *LoadBalancer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancer struct.
LoadBalancerBackendAddress load balancer backend addresses.
type LoadBalancerBackendAddress struct { // LoadBalancerBackendAddressPropertiesFormat - Properties of load balancer backend address pool. *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` // Name - Name of the backend address. Name *string `json:"name,omitempty"` }
func (lbba LoadBalancerBackendAddress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerBackendAddress.
func (lbba *LoadBalancerBackendAddress) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancerBackendAddress struct.
LoadBalancerBackendAddressAdminState enumerates the values for load balancer backend address admin state.
type LoadBalancerBackendAddressAdminState string
const ( // LoadBalancerBackendAddressAdminStateDown ... LoadBalancerBackendAddressAdminStateDown LoadBalancerBackendAddressAdminState = "Down" // LoadBalancerBackendAddressAdminStateDrain ... LoadBalancerBackendAddressAdminStateDrain LoadBalancerBackendAddressAdminState = "Drain" // LoadBalancerBackendAddressAdminStateNone ... LoadBalancerBackendAddressAdminStateNone LoadBalancerBackendAddressAdminState = "None" // LoadBalancerBackendAddressAdminStateUp ... LoadBalancerBackendAddressAdminStateUp LoadBalancerBackendAddressAdminState = "Up" )
func PossibleLoadBalancerBackendAddressAdminStateValues() []LoadBalancerBackendAddressAdminState
PossibleLoadBalancerBackendAddressAdminStateValues returns an array of possible values for the LoadBalancerBackendAddressAdminState const type.
LoadBalancerBackendAddressPoolListResult response for ListBackendAddressPool API service call.
type LoadBalancerBackendAddressPoolListResult struct { autorest.Response `json:"-"` // Value - A list of backend address pools in a load balancer. Value *[]BackendAddressPool `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lbbaplr LoadBalancerBackendAddressPoolListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lbbaplr LoadBalancerBackendAddressPoolListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerBackendAddressPoolListResult.
LoadBalancerBackendAddressPoolListResultIterator provides access to a complete listing of BackendAddressPool values.
type LoadBalancerBackendAddressPoolListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerBackendAddressPoolListResultIterator(page LoadBalancerBackendAddressPoolListResultPage) LoadBalancerBackendAddressPoolListResultIterator
Creates a new instance of the LoadBalancerBackendAddressPoolListResultIterator type.
func (iter *LoadBalancerBackendAddressPoolListResultIterator) 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 *LoadBalancerBackendAddressPoolListResultIterator) 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 LoadBalancerBackendAddressPoolListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerBackendAddressPoolListResultIterator) Response() LoadBalancerBackendAddressPoolListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerBackendAddressPoolListResultIterator) Value() BackendAddressPool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerBackendAddressPoolListResultPage contains a page of BackendAddressPool values.
type LoadBalancerBackendAddressPoolListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerBackendAddressPoolListResultPage(cur LoadBalancerBackendAddressPoolListResult, getNextPage func(context.Context, LoadBalancerBackendAddressPoolListResult) (LoadBalancerBackendAddressPoolListResult, error)) LoadBalancerBackendAddressPoolListResultPage
Creates a new instance of the LoadBalancerBackendAddressPoolListResultPage type.
func (page *LoadBalancerBackendAddressPoolListResultPage) 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 *LoadBalancerBackendAddressPoolListResultPage) 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 LoadBalancerBackendAddressPoolListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerBackendAddressPoolListResultPage) Response() LoadBalancerBackendAddressPoolListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerBackendAddressPoolListResultPage) Values() []BackendAddressPool
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerBackendAddressPoolsClient is the network Client
type LoadBalancerBackendAddressPoolsClient struct { BaseClient }
func NewLoadBalancerBackendAddressPoolsClient(subscriptionID string) LoadBalancerBackendAddressPoolsClient
NewLoadBalancerBackendAddressPoolsClient creates an instance of the LoadBalancerBackendAddressPoolsClient client.
func NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerBackendAddressPoolsClient
NewLoadBalancerBackendAddressPoolsClientWithBaseURI creates an instance of the LoadBalancerBackendAddressPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerBackendAddressPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string, parameters BackendAddressPool) (result LoadBalancerBackendAddressPoolsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a load balancer backend address pool. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. backendAddressPoolName - the name of the backend address pool. parameters - parameters supplied to the create or update load balancer backend address pool operation.
func (client LoadBalancerBackendAddressPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string, parameters BackendAddressPool) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client LoadBalancerBackendAddressPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result BackendAddressPool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client LoadBalancerBackendAddressPoolsClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancerBackendAddressPoolsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancerBackendAddressPoolsClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result LoadBalancerBackendAddressPoolsDeleteFuture, err error)
Delete deletes the specified load balancer backend address pool. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. backendAddressPoolName - the name of the backend address pool.
func (client LoadBalancerBackendAddressPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client LoadBalancerBackendAddressPoolsClient) 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 LoadBalancerBackendAddressPoolsClient) DeleteSender(req *http.Request) (future LoadBalancerBackendAddressPoolsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancerBackendAddressPoolsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result BackendAddressPool, err error)
Get gets load balancer backend address pool. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. backendAddressPoolName - the name of the backend address pool.
func (client LoadBalancerBackendAddressPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancerBackendAddressPoolsClient) GetResponder(resp *http.Response) (result BackendAddressPool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancerBackendAddressPoolsClient) 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 LoadBalancerBackendAddressPoolsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResultPage, err error)
List gets all the load balancer backed address pools. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerBackendAddressPoolsClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerBackendAddressPoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerBackendAddressPoolsClient) ListResponder(resp *http.Response) (result LoadBalancerBackendAddressPoolListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerBackendAddressPoolsClient) 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.
LoadBalancerBackendAddressPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancerBackendAddressPoolsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancerBackendAddressPoolsClient) (BackendAddressPool, error) }
func (future *LoadBalancerBackendAddressPoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancerBackendAddressPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancerBackendAddressPoolsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancerBackendAddressPoolsClient) (autorest.Response, error) }
func (future *LoadBalancerBackendAddressPoolsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancerBackendAddressPropertiesFormat properties of the load balancer backend addresses.
type LoadBalancerBackendAddressPropertiesFormat struct { // VirtualNetwork - Reference to an existing virtual network. VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` // Subnet - Reference to an existing subnet. Subnet *SubResource `json:"subnet,omitempty"` // IPAddress - IP Address belonging to the referenced virtual network. IPAddress *string `json:"ipAddress,omitempty"` // NetworkInterfaceIPConfiguration - READ-ONLY; Reference to IP address defined in network interfaces. NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty"` // LoadBalancerFrontendIPConfiguration - Reference to the frontend ip address configuration defined in regional loadbalancer. LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` // InboundNatRulesPortMapping - READ-ONLY; Collection of inbound NAT rule port mappings. InboundNatRulesPortMapping *[]NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty"` // AdminState - A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. Possible values include: 'LoadBalancerBackendAddressAdminStateNone', 'LoadBalancerBackendAddressAdminStateUp', 'LoadBalancerBackendAddressAdminStateDown', 'LoadBalancerBackendAddressAdminStateDrain' AdminState LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` }
func (lbbapf LoadBalancerBackendAddressPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerBackendAddressPropertiesFormat.
LoadBalancerFrontendIPConfigurationListResult response for ListFrontendIPConfiguration API service call.
type LoadBalancerFrontendIPConfigurationListResult struct { autorest.Response `json:"-"` // Value - A list of frontend IP configurations in a load balancer. Value *[]FrontendIPConfiguration `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lbficlr LoadBalancerFrontendIPConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lbficlr LoadBalancerFrontendIPConfigurationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerFrontendIPConfigurationListResult.
LoadBalancerFrontendIPConfigurationListResultIterator provides access to a complete listing of FrontendIPConfiguration values.
type LoadBalancerFrontendIPConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerFrontendIPConfigurationListResultIterator(page LoadBalancerFrontendIPConfigurationListResultPage) LoadBalancerFrontendIPConfigurationListResultIterator
Creates a new instance of the LoadBalancerFrontendIPConfigurationListResultIterator type.
func (iter *LoadBalancerFrontendIPConfigurationListResultIterator) 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 *LoadBalancerFrontendIPConfigurationListResultIterator) 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 LoadBalancerFrontendIPConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerFrontendIPConfigurationListResultIterator) Response() LoadBalancerFrontendIPConfigurationListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerFrontendIPConfigurationListResultIterator) Value() FrontendIPConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerFrontendIPConfigurationListResultPage contains a page of FrontendIPConfiguration values.
type LoadBalancerFrontendIPConfigurationListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerFrontendIPConfigurationListResultPage(cur LoadBalancerFrontendIPConfigurationListResult, getNextPage func(context.Context, LoadBalancerFrontendIPConfigurationListResult) (LoadBalancerFrontendIPConfigurationListResult, error)) LoadBalancerFrontendIPConfigurationListResultPage
Creates a new instance of the LoadBalancerFrontendIPConfigurationListResultPage type.
func (page *LoadBalancerFrontendIPConfigurationListResultPage) 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 *LoadBalancerFrontendIPConfigurationListResultPage) 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 LoadBalancerFrontendIPConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerFrontendIPConfigurationListResultPage) Response() LoadBalancerFrontendIPConfigurationListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerFrontendIPConfigurationListResultPage) Values() []FrontendIPConfiguration
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerFrontendIPConfigurationsClient is the network Client
type LoadBalancerFrontendIPConfigurationsClient struct { BaseClient }
func NewLoadBalancerFrontendIPConfigurationsClient(subscriptionID string) LoadBalancerFrontendIPConfigurationsClient
NewLoadBalancerFrontendIPConfigurationsClient creates an instance of the LoadBalancerFrontendIPConfigurationsClient client.
func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerFrontendIPConfigurationsClient
NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI creates an instance of the LoadBalancerFrontendIPConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerFrontendIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (result FrontendIPConfiguration, err error)
Get gets load balancer frontend IP configuration. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. frontendIPConfigurationName - the name of the frontend IP configuration.
func (client LoadBalancerFrontendIPConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancerFrontendIPConfigurationsClient) GetResponder(resp *http.Response) (result FrontendIPConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancerFrontendIPConfigurationsClient) 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 LoadBalancerFrontendIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResultPage, err error)
List gets all the load balancer frontend IP configurations. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerFrontendIPConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerFrontendIPConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerFrontendIPConfigurationsClient) ListResponder(resp *http.Response) (result LoadBalancerFrontendIPConfigurationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerFrontendIPConfigurationsClient) 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.
LoadBalancerListResult response for ListLoadBalancers API service call.
type LoadBalancerListResult struct { autorest.Response `json:"-"` // Value - A list of load balancers in a resource group. Value *[]LoadBalancer `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lblr LoadBalancerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lblr LoadBalancerListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerListResult.
LoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.
type LoadBalancerListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerListResultIterator(page LoadBalancerListResultPage) LoadBalancerListResultIterator
Creates a new instance of the LoadBalancerListResultIterator type.
func (iter *LoadBalancerListResultIterator) 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 *LoadBalancerListResultIterator) 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 LoadBalancerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerListResultIterator) Response() LoadBalancerListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerListResultIterator) Value() LoadBalancer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerListResultPage contains a page of LoadBalancer values.
type LoadBalancerListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerListResultPage(cur LoadBalancerListResult, getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage
Creates a new instance of the LoadBalancerListResultPage type.
func (page *LoadBalancerListResultPage) 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 *LoadBalancerListResultPage) 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 LoadBalancerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerListResultPage) Response() LoadBalancerListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerListResultPage) Values() []LoadBalancer
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerLoadBalancingRuleListResult response for ListLoadBalancingRule API service call.
type LoadBalancerLoadBalancingRuleListResult struct { autorest.Response `json:"-"` // Value - A list of load balancing rules in a load balancer. Value *[]LoadBalancingRule `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lblbrlr LoadBalancerLoadBalancingRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lblbrlr LoadBalancerLoadBalancingRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerLoadBalancingRuleListResult.
LoadBalancerLoadBalancingRuleListResultIterator provides access to a complete listing of LoadBalancingRule values.
type LoadBalancerLoadBalancingRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerLoadBalancingRuleListResultIterator(page LoadBalancerLoadBalancingRuleListResultPage) LoadBalancerLoadBalancingRuleListResultIterator
Creates a new instance of the LoadBalancerLoadBalancingRuleListResultIterator type.
func (iter *LoadBalancerLoadBalancingRuleListResultIterator) 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 *LoadBalancerLoadBalancingRuleListResultIterator) 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 LoadBalancerLoadBalancingRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerLoadBalancingRuleListResultIterator) Response() LoadBalancerLoadBalancingRuleListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerLoadBalancingRuleListResultIterator) Value() LoadBalancingRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerLoadBalancingRuleListResultPage contains a page of LoadBalancingRule values.
type LoadBalancerLoadBalancingRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerLoadBalancingRuleListResultPage(cur LoadBalancerLoadBalancingRuleListResult, getNextPage func(context.Context, LoadBalancerLoadBalancingRuleListResult) (LoadBalancerLoadBalancingRuleListResult, error)) LoadBalancerLoadBalancingRuleListResultPage
Creates a new instance of the LoadBalancerLoadBalancingRuleListResultPage type.
func (page *LoadBalancerLoadBalancingRuleListResultPage) 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 *LoadBalancerLoadBalancingRuleListResultPage) 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 LoadBalancerLoadBalancingRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerLoadBalancingRuleListResultPage) Response() LoadBalancerLoadBalancingRuleListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerLoadBalancingRuleListResultPage) Values() []LoadBalancingRule
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerLoadBalancingRulesClient is the network Client
type LoadBalancerLoadBalancingRulesClient struct { BaseClient }
func NewLoadBalancerLoadBalancingRulesClient(subscriptionID string) LoadBalancerLoadBalancingRulesClient
NewLoadBalancerLoadBalancingRulesClient creates an instance of the LoadBalancerLoadBalancingRulesClient client.
func NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerLoadBalancingRulesClient
NewLoadBalancerLoadBalancingRulesClientWithBaseURI creates an instance of the LoadBalancerLoadBalancingRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerLoadBalancingRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (result LoadBalancingRule, err error)
Get gets the specified load balancer load balancing rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. loadBalancingRuleName - the name of the load balancing rule.
func (client LoadBalancerLoadBalancingRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancerLoadBalancingRulesClient) GetResponder(resp *http.Response) (result LoadBalancingRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancerLoadBalancingRulesClient) 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 LoadBalancerLoadBalancingRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResultPage, err error)
List gets all the load balancing rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerLoadBalancingRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerLoadBalancingRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerLoadBalancingRulesClient) ListResponder(resp *http.Response) (result LoadBalancerLoadBalancingRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerLoadBalancingRulesClient) 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.
LoadBalancerNetworkInterfacesClient is the network Client
type LoadBalancerNetworkInterfacesClient struct { BaseClient }
func NewLoadBalancerNetworkInterfacesClient(subscriptionID string) LoadBalancerNetworkInterfacesClient
NewLoadBalancerNetworkInterfacesClient creates an instance of the LoadBalancerNetworkInterfacesClient client.
func NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerNetworkInterfacesClient
NewLoadBalancerNetworkInterfacesClientWithBaseURI creates an instance of the LoadBalancerNetworkInterfacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerNetworkInterfacesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InterfaceListResultPage, err error)
List gets associated load balancer network interfaces. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerNetworkInterfacesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InterfaceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerNetworkInterfacesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerNetworkInterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerNetworkInterfacesClient) 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.
LoadBalancerOutboundRuleListResult response for ListOutboundRule API service call.
type LoadBalancerOutboundRuleListResult struct { autorest.Response `json:"-"` // Value - A list of outbound rules in a load balancer. Value *[]OutboundRule `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lborlr LoadBalancerOutboundRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lborlr LoadBalancerOutboundRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerOutboundRuleListResult.
LoadBalancerOutboundRuleListResultIterator provides access to a complete listing of OutboundRule values.
type LoadBalancerOutboundRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerOutboundRuleListResultIterator(page LoadBalancerOutboundRuleListResultPage) LoadBalancerOutboundRuleListResultIterator
Creates a new instance of the LoadBalancerOutboundRuleListResultIterator type.
func (iter *LoadBalancerOutboundRuleListResultIterator) 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 *LoadBalancerOutboundRuleListResultIterator) 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 LoadBalancerOutboundRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerOutboundRuleListResultIterator) Response() LoadBalancerOutboundRuleListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerOutboundRuleListResultIterator) Value() OutboundRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerOutboundRuleListResultPage contains a page of OutboundRule values.
type LoadBalancerOutboundRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerOutboundRuleListResultPage(cur LoadBalancerOutboundRuleListResult, getNextPage func(context.Context, LoadBalancerOutboundRuleListResult) (LoadBalancerOutboundRuleListResult, error)) LoadBalancerOutboundRuleListResultPage
Creates a new instance of the LoadBalancerOutboundRuleListResultPage type.
func (page *LoadBalancerOutboundRuleListResultPage) 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 *LoadBalancerOutboundRuleListResultPage) 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 LoadBalancerOutboundRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerOutboundRuleListResultPage) Response() LoadBalancerOutboundRuleListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerOutboundRuleListResultPage) Values() []OutboundRule
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerOutboundRuleProtocol enumerates the values for load balancer outbound rule protocol.
type LoadBalancerOutboundRuleProtocol string
const ( // LoadBalancerOutboundRuleProtocolAll ... LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All" // LoadBalancerOutboundRuleProtocolTCP ... LoadBalancerOutboundRuleProtocolTCP LoadBalancerOutboundRuleProtocol = "Tcp" // LoadBalancerOutboundRuleProtocolUDP ... LoadBalancerOutboundRuleProtocolUDP LoadBalancerOutboundRuleProtocol = "Udp" )
func PossibleLoadBalancerOutboundRuleProtocolValues() []LoadBalancerOutboundRuleProtocol
PossibleLoadBalancerOutboundRuleProtocolValues returns an array of possible values for the LoadBalancerOutboundRuleProtocol const type.
LoadBalancerOutboundRulesClient is the network Client
type LoadBalancerOutboundRulesClient struct { BaseClient }
func NewLoadBalancerOutboundRulesClient(subscriptionID string) LoadBalancerOutboundRulesClient
NewLoadBalancerOutboundRulesClient creates an instance of the LoadBalancerOutboundRulesClient client.
func NewLoadBalancerOutboundRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerOutboundRulesClient
NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerOutboundRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string) (result OutboundRule, err error)
Get gets the specified load balancer outbound rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. outboundRuleName - the name of the outbound rule.
func (client LoadBalancerOutboundRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancerOutboundRulesClient) GetResponder(resp *http.Response) (result OutboundRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancerOutboundRulesClient) 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 LoadBalancerOutboundRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerOutboundRuleListResultPage, err error)
List gets all the outbound rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerOutboundRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerOutboundRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerOutboundRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerOutboundRulesClient) ListResponder(resp *http.Response) (result LoadBalancerOutboundRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerOutboundRulesClient) 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.
LoadBalancerProbeListResult response for ListProbe API service call.
type LoadBalancerProbeListResult struct { autorest.Response `json:"-"` // Value - A list of probes in a load balancer. Value *[]Probe `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lbplr LoadBalancerProbeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lbplr LoadBalancerProbeListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerProbeListResult.
LoadBalancerProbeListResultIterator provides access to a complete listing of Probe values.
type LoadBalancerProbeListResultIterator struct {
// contains filtered or unexported fields
}
func NewLoadBalancerProbeListResultIterator(page LoadBalancerProbeListResultPage) LoadBalancerProbeListResultIterator
Creates a new instance of the LoadBalancerProbeListResultIterator type.
func (iter *LoadBalancerProbeListResultIterator) 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 *LoadBalancerProbeListResultIterator) 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 LoadBalancerProbeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LoadBalancerProbeListResultIterator) Response() LoadBalancerProbeListResult
Response returns the raw server response from the last page request.
func (iter LoadBalancerProbeListResultIterator) Value() Probe
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LoadBalancerProbeListResultPage contains a page of Probe values.
type LoadBalancerProbeListResultPage struct {
// contains filtered or unexported fields
}
func NewLoadBalancerProbeListResultPage(cur LoadBalancerProbeListResult, getNextPage func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error)) LoadBalancerProbeListResultPage
Creates a new instance of the LoadBalancerProbeListResultPage type.
func (page *LoadBalancerProbeListResultPage) 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 *LoadBalancerProbeListResultPage) 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 LoadBalancerProbeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LoadBalancerProbeListResultPage) Response() LoadBalancerProbeListResult
Response returns the raw server response from the last page request.
func (page LoadBalancerProbeListResultPage) Values() []Probe
Values returns the slice of values for the current page or nil if there are no values.
LoadBalancerProbesClient is the network Client
type LoadBalancerProbesClient struct { BaseClient }
func NewLoadBalancerProbesClient(subscriptionID string) LoadBalancerProbesClient
NewLoadBalancerProbesClient creates an instance of the LoadBalancerProbesClient client.
func NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerProbesClient
NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancerProbesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string) (result Probe, err error)
Get gets load balancer probe. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. probeName - the name of the probe.
func (client LoadBalancerProbesClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancerProbesClient) GetResponder(resp *http.Response) (result Probe, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancerProbesClient) 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 LoadBalancerProbesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResultPage, err error)
List gets all the load balancer probes. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancerProbesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancerProbesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancerProbesClient) ListResponder(resp *http.Response) (result LoadBalancerProbeListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancerProbesClient) 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.
LoadBalancerPropertiesFormat properties of the load balancer.
type LoadBalancerPropertiesFormat struct { // FrontendIPConfigurations - Object representing the frontend IPs to be used for the load balancer. FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` // BackendAddressPools - Collection of backend address pools used by a load balancer. BackendAddressPools *[]BackendAddressPool `json:"backendAddressPools,omitempty"` // LoadBalancingRules - Object collection representing the load balancing rules Gets the provisioning. LoadBalancingRules *[]LoadBalancingRule `json:"loadBalancingRules,omitempty"` // Probes - Collection of probe objects used in the load balancer. Probes *[]Probe `json:"probes,omitempty"` // InboundNatRules - Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. InboundNatRules *[]InboundNatRule `json:"inboundNatRules,omitempty"` // InboundNatPools - Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. InboundNatPools *[]InboundNatPool `json:"inboundNatPools,omitempty"` // OutboundRules - The outbound rules. OutboundRules *[]OutboundRule `json:"outboundRules,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the load balancer resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the load balancer resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (lbpf LoadBalancerPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerPropertiesFormat.
LoadBalancerSku SKU of a load balancer.
type LoadBalancerSku struct { // Name - Name of a load balancer SKU. Possible values include: 'LoadBalancerSkuNameBasic', 'LoadBalancerSkuNameStandard', 'LoadBalancerSkuNameGateway' Name LoadBalancerSkuName `json:"name,omitempty"` // Tier - Tier of a load balancer SKU. Possible values include: 'LoadBalancerSkuTierRegional', 'LoadBalancerSkuTierGlobal' Tier LoadBalancerSkuTier `json:"tier,omitempty"` }
LoadBalancerSkuName enumerates the values for load balancer sku name.
type LoadBalancerSkuName string
const ( // LoadBalancerSkuNameBasic ... LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic" // LoadBalancerSkuNameGateway ... LoadBalancerSkuNameGateway LoadBalancerSkuName = "Gateway" // LoadBalancerSkuNameStandard ... LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard" )
func PossibleLoadBalancerSkuNameValues() []LoadBalancerSkuName
PossibleLoadBalancerSkuNameValues returns an array of possible values for the LoadBalancerSkuName const type.
LoadBalancerSkuTier enumerates the values for load balancer sku tier.
type LoadBalancerSkuTier string
const ( // LoadBalancerSkuTierGlobal ... LoadBalancerSkuTierGlobal LoadBalancerSkuTier = "Global" // LoadBalancerSkuTierRegional ... LoadBalancerSkuTierRegional LoadBalancerSkuTier = "Regional" )
func PossibleLoadBalancerSkuTierValues() []LoadBalancerSkuTier
PossibleLoadBalancerSkuTierValues returns an array of possible values for the LoadBalancerSkuTier const type.
LoadBalancerVipSwapRequest the request for a VIP swap.
type LoadBalancerVipSwapRequest struct { // FrontendIPConfigurations - A list of frontend IP configuration resources that should swap VIPs. FrontendIPConfigurations *[]LoadBalancerVipSwapRequestFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` }
LoadBalancerVipSwapRequestFrontendIPConfiguration VIP swap request's frontend IP configuration object.
type LoadBalancerVipSwapRequestFrontendIPConfiguration struct { // ID - The ID of frontend IP configuration resource. ID *string `json:"id,omitempty"` // LoadBalancerVipSwapRequestFrontendIPConfigurationProperties - The properties of VIP swap request's frontend IP configuration object. *LoadBalancerVipSwapRequestFrontendIPConfigurationProperties `json:"properties,omitempty"` }
func (lbvsrfic LoadBalancerVipSwapRequestFrontendIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerVipSwapRequestFrontendIPConfiguration.
func (lbvsrfic *LoadBalancerVipSwapRequestFrontendIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancerVipSwapRequestFrontendIPConfiguration struct.
LoadBalancerVipSwapRequestFrontendIPConfigurationProperties the properties of VIP swap request's frontend IP configuration object.
type LoadBalancerVipSwapRequestFrontendIPConfigurationProperties struct { // PublicIPAddress - A reference to public IP address resource. PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` }
LoadBalancersClient is the network Client
type LoadBalancersClient struct { BaseClient }
func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient
NewLoadBalancersClient creates an instance of the LoadBalancersClient client.
func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient
NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LoadBalancersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (result LoadBalancersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. parameters - parameters supplied to the create or update load balancer operation.
func (client LoadBalancersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client LoadBalancersClient) CreateOrUpdateResponder(resp *http.Response) (result LoadBalancer, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client LoadBalancersClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancersClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error)
Delete deletes the specified load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.
func (client LoadBalancersClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client LoadBalancersClient) 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 LoadBalancersClient) DeleteSender(req *http.Request) (future LoadBalancersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)
Get gets the specified load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. expand - expands referenced resources.
func (client LoadBalancersClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LoadBalancersClient) GetResponder(resp *http.Response) (result LoadBalancer, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LoadBalancersClient) 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 LoadBalancersClient) List(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error)
List gets all the load balancers in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalancerListResultPage, err error)
ListAll gets all the load balancers in a subscription.
func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result LoadBalancerListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancersClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client LoadBalancersClient) ListAllResponder(resp *http.Response) (result LoadBalancerListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client LoadBalancersClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LoadBalancersClient) ListInboundNatRulePortMappings(ctx context.Context, groupName string, loadBalancerName string, backendPoolName string, parameters QueryInboundNatRulePortMappingRequest) (result LoadBalancersListInboundNatRulePortMappingsFuture, err error)
ListInboundNatRulePortMappings list of inbound NAT rule port mappings. Parameters: groupName - the name of the resource group. loadBalancerName - the name of the load balancer. backendPoolName - the name of the load balancer backend address pool. parameters - query inbound NAT rule port mapping request.
func (client LoadBalancersClient) ListInboundNatRulePortMappingsPreparer(ctx context.Context, groupName string, loadBalancerName string, backendPoolName string, parameters QueryInboundNatRulePortMappingRequest) (*http.Request, error)
ListInboundNatRulePortMappingsPreparer prepares the ListInboundNatRulePortMappings request.
func (client LoadBalancersClient) ListInboundNatRulePortMappingsResponder(resp *http.Response) (result BackendAddressInboundNatRulePortMappings, err error)
ListInboundNatRulePortMappingsResponder handles the response to the ListInboundNatRulePortMappings request. The method always closes the http.Response Body.
func (client LoadBalancersClient) ListInboundNatRulePortMappingsSender(req *http.Request) (future LoadBalancersListInboundNatRulePortMappingsFuture, err error)
ListInboundNatRulePortMappingsSender sends the ListInboundNatRulePortMappings request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancersClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LoadBalancersClient) ListResponder(resp *http.Response) (result LoadBalancerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LoadBalancersClient) 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.
func (client LoadBalancersClient) SwapPublicIPAddresses(ctx context.Context, location string, parameters LoadBalancerVipSwapRequest) (result LoadBalancersSwapPublicIPAddressesFuture, err error)
SwapPublicIPAddresses swaps VIPs between two load balancers. Parameters: location - the region where load balancers are located at. parameters - parameters that define which VIPs should be swapped.
func (client LoadBalancersClient) SwapPublicIPAddressesPreparer(ctx context.Context, location string, parameters LoadBalancerVipSwapRequest) (*http.Request, error)
SwapPublicIPAddressesPreparer prepares the SwapPublicIPAddresses request.
func (client LoadBalancersClient) SwapPublicIPAddressesResponder(resp *http.Response) (result autorest.Response, err error)
SwapPublicIPAddressesResponder handles the response to the SwapPublicIPAddresses request. The method always closes the http.Response Body.
func (client LoadBalancersClient) SwapPublicIPAddressesSender(req *http.Request) (future LoadBalancersSwapPublicIPAddressesFuture, err error)
SwapPublicIPAddressesSender sends the SwapPublicIPAddresses request. The method will close the http.Response Body if it receives an error.
func (client LoadBalancersClient) UpdateTags(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject) (result LoadBalancer, err error)
UpdateTags updates a load balancer tags. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. parameters - parameters supplied to update load balancer tags.
func (client LoadBalancersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client LoadBalancersClient) UpdateTagsResponder(resp *http.Response) (result LoadBalancer, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client LoadBalancersClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
LoadBalancersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancersClient) (LoadBalancer, error) }
func (future *LoadBalancersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancersClient) (autorest.Response, error) }
func (future *LoadBalancersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancersListInboundNatRulePortMappingsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancersListInboundNatRulePortMappingsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancersClient) (BackendAddressInboundNatRulePortMappings, error) }
func (future *LoadBalancersListInboundNatRulePortMappingsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancersSwapPublicIPAddressesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LoadBalancersSwapPublicIPAddressesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LoadBalancersClient) (autorest.Response, error) }
func (future *LoadBalancersSwapPublicIPAddressesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LoadBalancingRule a load balancing rule for a load balancer.
type LoadBalancingRule struct { autorest.Response `json:"-"` // LoadBalancingRulePropertiesFormat - Properties of load balancer load balancing rule. *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (lbr LoadBalancingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancingRule.
func (lbr *LoadBalancingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancingRule struct.
LoadBalancingRulePropertiesFormat properties of the load balancer.
type LoadBalancingRulePropertiesFormat struct { // FrontendIPConfiguration - A reference to frontend IP addresses. FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // BackendAddressPool - A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendAddressPools - An array of references to pool of DIPs. BackendAddressPools *[]SubResource `json:"backendAddressPools,omitempty"` // Probe - The reference to the load balancer probe used by the load balancing rule. Probe *SubResource `json:"probe,omitempty"` // Protocol - The reference to the transport protocol used by the load balancing rule. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll' Protocol TransportProtocol `json:"protocol,omitempty"` // LoadDistribution - The load distribution policy for this rule. Possible values include: 'LoadDistributionDefault', 'LoadDistributionSourceIP', 'LoadDistributionSourceIPProtocol' LoadDistribution LoadDistribution `json:"loadDistribution,omitempty"` // FrontendPort - The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". FrontendPort *int32 `json:"frontendPort,omitempty"` // BackendPort - The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port". BackendPort *int32 `json:"backendPort,omitempty"` // IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` // EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTCPReset *bool `json:"enableTcpReset,omitempty"` // DisableOutboundSnat - Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. DisableOutboundSnat *bool `json:"disableOutboundSnat,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the load balancing rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (lbrpf LoadBalancingRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancingRulePropertiesFormat.
LoadDistribution enumerates the values for load distribution.
type LoadDistribution string
const ( // LoadDistributionDefault ... LoadDistributionDefault LoadDistribution = "Default" // LoadDistributionSourceIP ... LoadDistributionSourceIP LoadDistribution = "SourceIP" // LoadDistributionSourceIPProtocol ... LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol" )
func PossibleLoadDistributionValues() []LoadDistribution
PossibleLoadDistributionValues returns an array of possible values for the LoadDistribution const type.
LocalNetworkGateway a common class for general resource information.
type LocalNetworkGateway struct { autorest.Response `json:"-"` // LocalNetworkGatewayPropertiesFormat - Properties of the local network gateway. *LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (lng LocalNetworkGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalNetworkGateway.
func (lng *LocalNetworkGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LocalNetworkGateway struct.
LocalNetworkGatewayListResult response for ListLocalNetworkGateways API service call.
type LocalNetworkGatewayListResult struct { autorest.Response `json:"-"` // Value - A list of local network gateways that exists in a resource group. Value *[]LocalNetworkGateway `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (lnglr LocalNetworkGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lnglr LocalNetworkGatewayListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalNetworkGatewayListResult.
LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway values.
type LocalNetworkGatewayListResultIterator struct {
// contains filtered or unexported fields
}
func NewLocalNetworkGatewayListResultIterator(page LocalNetworkGatewayListResultPage) LocalNetworkGatewayListResultIterator
Creates a new instance of the LocalNetworkGatewayListResultIterator type.
func (iter *LocalNetworkGatewayListResultIterator) 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 *LocalNetworkGatewayListResultIterator) 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 LocalNetworkGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter LocalNetworkGatewayListResultIterator) Response() LocalNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (iter LocalNetworkGatewayListResultIterator) Value() LocalNetworkGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
LocalNetworkGatewayListResultPage contains a page of LocalNetworkGateway values.
type LocalNetworkGatewayListResultPage struct {
// contains filtered or unexported fields
}
func NewLocalNetworkGatewayListResultPage(cur LocalNetworkGatewayListResult, getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage
Creates a new instance of the LocalNetworkGatewayListResultPage type.
func (page *LocalNetworkGatewayListResultPage) 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 *LocalNetworkGatewayListResultPage) 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 LocalNetworkGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page LocalNetworkGatewayListResultPage) Response() LocalNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (page LocalNetworkGatewayListResultPage) Values() []LocalNetworkGateway
Values returns the slice of values for the current page or nil if there are no values.
LocalNetworkGatewayPropertiesFormat localNetworkGateway properties.
type LocalNetworkGatewayPropertiesFormat struct { // LocalNetworkAddressSpace - Local network site address space. LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"` // GatewayIPAddress - IP address of local network gateway. GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"` // Fqdn - FQDN of local network gateway. Fqdn *string `json:"fqdn,omitempty"` // BgpSettings - Local network gateway's BGP speaker settings. BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the local network gateway resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the local network gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (lngpf LocalNetworkGatewayPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalNetworkGatewayPropertiesFormat.
LocalNetworkGatewaysClient is the network Client
type LocalNetworkGatewaysClient struct { BaseClient }
func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient
NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.
func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient
NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (result LocalNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a local network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway. parameters - parameters supplied to the create or update local network gateway operation.
func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client LocalNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result LocalNetworkGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client LocalNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future LocalNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client LocalNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error)
Delete deletes the specified local network gateway. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.
func (client LocalNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client LocalNetworkGatewaysClient) 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 LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (future LocalNetworkGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client LocalNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error)
Get gets the specified local network gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.
func (client LocalNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (result LocalNetworkGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client LocalNetworkGatewaysClient) 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 LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error)
List gets all the local network gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client LocalNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client LocalNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client LocalNetworkGatewaysClient) ListResponder(resp *http.Response) (result LocalNetworkGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client LocalNetworkGatewaysClient) 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.
func (client LocalNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject) (result LocalNetworkGateway, err error)
UpdateTags updates a local network gateway tags. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway. parameters - parameters supplied to update local network gateway tags.
func (client LocalNetworkGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client LocalNetworkGatewaysClient) UpdateTagsResponder(resp *http.Response) (result LocalNetworkGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client LocalNetworkGatewaysClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
LocalNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LocalNetworkGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LocalNetworkGatewaysClient) (LocalNetworkGateway, error) }
func (future *LocalNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LocalNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type LocalNetworkGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LocalNetworkGatewaysClient) (autorest.Response, error) }
func (future *LocalNetworkGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
LogSpecification description of logging specification.
type LogSpecification struct { // Name - The name of the specification. Name *string `json:"name,omitempty"` // DisplayName - The display name of the specification. DisplayName *string `json:"displayName,omitempty"` // BlobDuration - Duration of the blob. BlobDuration *string `json:"blobDuration,omitempty"` }
ManagedRuleEnabledState enumerates the values for managed rule enabled state.
type ManagedRuleEnabledState string
const ( // ManagedRuleEnabledStateDisabled ... ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled" )
func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState
PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type.
ManagedRuleGroupOverride defines a managed rule group override setting.
type ManagedRuleGroupOverride struct { // RuleGroupName - The managed rule group to override. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules - List of rules that will be disabled. If none specified, all rules in the group will be disabled. Rules *[]ManagedRuleOverride `json:"rules,omitempty"` }
ManagedRuleOverride defines a managed rule group override setting.
type ManagedRuleOverride struct { // RuleID - Identifier for the managed rule. RuleID *string `json:"ruleId,omitempty"` // State - The state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'ManagedRuleEnabledStateDisabled' State ManagedRuleEnabledState `json:"state,omitempty"` }
ManagedRuleSet defines a managed rule set.
type ManagedRuleSet struct { // RuleSetType - Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion - Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` // RuleGroupOverrides - Defines the rule group overrides to apply to the rule set. RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` }
ManagedRulesDefinition allow to exclude some variable satisfy the condition for the WAF check.
type ManagedRulesDefinition struct { // Exclusions - The Exclusions that are applied on the policy. Exclusions *[]OwaspCrsExclusionEntry `json:"exclusions,omitempty"` // ManagedRuleSets - The managed rule sets that are associated with the policy. ManagedRuleSets *[]ManagedRuleSet `json:"managedRuleSets,omitempty"` }
ManagedServiceIdentity identity for the resource.
type ManagedServiceIdentity struct { // PrincipalID - READ-ONLY; The principal id of the system assigned identity. This property will only be provided for a system assigned identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone' Type ResourceIdentityType `json:"type,omitempty"` // UserAssignedIdentities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*ManagedServiceIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` }
func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServiceIdentity.
ManagedServiceIdentityUserAssignedIdentitiesValue ...
type ManagedServiceIdentityUserAssignedIdentitiesValue struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
func (msiAiv ManagedServiceIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServiceIdentityUserAssignedIdentitiesValue.
MatchCondition define match conditions.
type MatchCondition struct { // MatchVariables - List of match variables. MatchVariables *[]MatchVariable `json:"matchVariables,omitempty"` // Operator - The operator to be matched. Possible values include: 'WebApplicationFirewallOperatorIPMatch', 'WebApplicationFirewallOperatorEqual', 'WebApplicationFirewallOperatorContains', 'WebApplicationFirewallOperatorLessThan', 'WebApplicationFirewallOperatorGreaterThan', 'WebApplicationFirewallOperatorLessThanOrEqual', 'WebApplicationFirewallOperatorGreaterThanOrEqual', 'WebApplicationFirewallOperatorBeginsWith', 'WebApplicationFirewallOperatorEndsWith', 'WebApplicationFirewallOperatorRegex', 'WebApplicationFirewallOperatorGeoMatch' Operator WebApplicationFirewallOperator `json:"operator,omitempty"` // NegationConditon - Whether this is negate condition or not. NegationConditon *bool `json:"negationConditon,omitempty"` // MatchValues - Match value. MatchValues *[]string `json:"matchValues,omitempty"` // Transforms - List of transforms. Transforms *[]WebApplicationFirewallTransform `json:"transforms,omitempty"` }
MatchVariable define match variables.
type MatchVariable struct { // VariableName - Match Variable. Possible values include: 'WebApplicationFirewallMatchVariableRemoteAddr', 'WebApplicationFirewallMatchVariableRequestMethod', 'WebApplicationFirewallMatchVariableQueryString', 'WebApplicationFirewallMatchVariablePostArgs', 'WebApplicationFirewallMatchVariableRequestURI', 'WebApplicationFirewallMatchVariableRequestHeaders', 'WebApplicationFirewallMatchVariableRequestBody', 'WebApplicationFirewallMatchVariableRequestCookies' VariableName WebApplicationFirewallMatchVariable `json:"variableName,omitempty"` // Selector - The selector of match variable. Selector *string `json:"selector,omitempty"` }
MatchedRule matched rule.
type MatchedRule struct { // RuleName - Name of the matched network security rule. RuleName *string `json:"ruleName,omitempty"` // Action - The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. Action *string `json:"action,omitempty"` }
MetricSpecification description of metrics specification.
type MetricSpecification struct { // Name - The name of the metric. Name *string `json:"name,omitempty"` // DisplayName - The display name of the metric. DisplayName *string `json:"displayName,omitempty"` // DisplayDescription - The description of the metric. DisplayDescription *string `json:"displayDescription,omitempty"` // Unit - Units the metric to be displayed in. Unit *string `json:"unit,omitempty"` // AggregationType - The aggregation type. AggregationType *string `json:"aggregationType,omitempty"` // Availabilities - List of availability. Availabilities *[]Availability `json:"availabilities,omitempty"` // EnableRegionalMdmAccount - Whether regional MDM account enabled. EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` // FillGapWithZero - Whether gaps would be filled with zeros. FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` // MetricFilterPattern - Pattern for the filter of the metric. MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` // Dimensions - List of dimensions. Dimensions *[]Dimension `json:"dimensions,omitempty"` // IsInternal - Whether the metric is internal. IsInternal *bool `json:"isInternal,omitempty"` // SourceMdmAccount - The source MDM account. SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` // SourceMdmNamespace - The source MDM namespace. SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` // ResourceIDDimensionNameOverride - The resource Id dimension name override. ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` }
NatGateway nat Gateway resource.
type NatGateway struct { autorest.Response `json:"-"` // Sku - The nat gateway SKU. Sku *NatGatewaySku `json:"sku,omitempty"` // NatGatewayPropertiesFormat - Nat Gateway properties. *NatGatewayPropertiesFormat `json:"properties,omitempty"` // Zones - A list of availability zones denoting the zone in which Nat Gateway should be deployed. Zones *[]string `json:"zones,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ng NatGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NatGateway.
func (ng *NatGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NatGateway struct.
NatGatewayListResult response for ListNatGateways API service call.
type NatGatewayListResult struct { autorest.Response `json:"-"` // Value - A list of Nat Gateways that exists in a resource group. Value *[]NatGateway `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (nglr NatGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
NatGatewayListResultIterator provides access to a complete listing of NatGateway values.
type NatGatewayListResultIterator struct {
// contains filtered or unexported fields
}
func NewNatGatewayListResultIterator(page NatGatewayListResultPage) NatGatewayListResultIterator
Creates a new instance of the NatGatewayListResultIterator type.
func (iter *NatGatewayListResultIterator) 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 *NatGatewayListResultIterator) 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 NatGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter NatGatewayListResultIterator) Response() NatGatewayListResult
Response returns the raw server response from the last page request.
func (iter NatGatewayListResultIterator) Value() NatGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
NatGatewayListResultPage contains a page of NatGateway values.
type NatGatewayListResultPage struct {
// contains filtered or unexported fields
}
func NewNatGatewayListResultPage(cur NatGatewayListResult, getNextPage func(context.Context, NatGatewayListResult) (NatGatewayListResult, error)) NatGatewayListResultPage
Creates a new instance of the NatGatewayListResultPage type.
func (page *NatGatewayListResultPage) 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 *NatGatewayListResultPage) 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 NatGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page NatGatewayListResultPage) Response() NatGatewayListResult
Response returns the raw server response from the last page request.
func (page NatGatewayListResultPage) Values() []NatGateway
Values returns the slice of values for the current page or nil if there are no values.
NatGatewayPropertiesFormat nat Gateway properties.
type NatGatewayPropertiesFormat struct { // IdleTimeoutInMinutes - The idle timeout of the nat gateway. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // PublicIPAddresses - An array of public ip addresses associated with the nat gateway resource. PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` // PublicIPPrefixes - An array of public ip prefixes associated with the nat gateway resource. PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` // Subnets - READ-ONLY; An array of references to the subnets using this nat gateway resource. Subnets *[]SubResource `json:"subnets,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the NAT gateway resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the NAT gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (ngpf NatGatewayPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NatGatewayPropertiesFormat.
NatGatewaySku SKU of nat gateway.
type NatGatewaySku struct { // Name - Name of Nat Gateway SKU. Possible values include: 'NatGatewaySkuNameStandard' Name NatGatewaySkuName `json:"name,omitempty"` }
NatGatewaySkuName enumerates the values for nat gateway sku name.
type NatGatewaySkuName string
const ( // NatGatewaySkuNameStandard ... NatGatewaySkuNameStandard NatGatewaySkuName = "Standard" )
func PossibleNatGatewaySkuNameValues() []NatGatewaySkuName
PossibleNatGatewaySkuNameValues returns an array of possible values for the NatGatewaySkuName const type.
NatGatewaysClient is the network Client
type NatGatewaysClient struct { BaseClient }
func NewNatGatewaysClient(subscriptionID string) NatGatewaysClient
NewNatGatewaysClient creates an instance of the NatGatewaysClient client.
func NewNatGatewaysClientWithBaseURI(baseURI string, subscriptionID string) NatGatewaysClient
NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client NatGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, natGatewayName string, parameters NatGateway) (result NatGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a nat gateway. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. parameters - parameters supplied to the create or update nat gateway operation.
func (client NatGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, natGatewayName string, parameters NatGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client NatGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result NatGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client NatGatewaysClient) CreateOrUpdateSender(req *http.Request) (future NatGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client NatGatewaysClient) Delete(ctx context.Context, resourceGroupName string, natGatewayName string) (result NatGatewaysDeleteFuture, err error)
Delete deletes the specified nat gateway. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway.
func (client NatGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, natGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client NatGatewaysClient) 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 NatGatewaysClient) DeleteSender(req *http.Request) (future NatGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client NatGatewaysClient) Get(ctx context.Context, resourceGroupName string, natGatewayName string, expand string) (result NatGateway, err error)
Get gets the specified nat gateway in a specified resource group. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. expand - expands referenced resources.
func (client NatGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, natGatewayName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client NatGatewaysClient) GetResponder(resp *http.Response) (result NatGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client NatGatewaysClient) 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 NatGatewaysClient) List(ctx context.Context, resourceGroupName string) (result NatGatewayListResultPage, err error)
List gets all nat gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client NatGatewaysClient) ListAll(ctx context.Context) (result NatGatewayListResultPage, err error)
ListAll gets all the Nat Gateways in a subscription.
func (client NatGatewaysClient) ListAllComplete(ctx context.Context) (result NatGatewayListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client NatGatewaysClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client NatGatewaysClient) ListAllResponder(resp *http.Response) (result NatGatewayListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client NatGatewaysClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client NatGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result NatGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client NatGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client NatGatewaysClient) ListResponder(resp *http.Response) (result NatGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client NatGatewaysClient) 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.
func (client NatGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, natGatewayName string, parameters TagsObject) (result NatGateway, err error)
UpdateTags updates nat gateway tags. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. parameters - parameters supplied to update nat gateway tags.
func (client NatGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, natGatewayName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client NatGatewaysClient) UpdateTagsResponder(resp *http.Response) (result NatGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client NatGatewaysClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
NatGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type NatGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NatGatewaysClient) (NatGateway, error) }
func (future *NatGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
NatGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type NatGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NatGatewaysClient) (autorest.Response, error) }
func (future *NatGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
NatRule rule of type nat.
type NatRule struct { // IPProtocols - Array of FirewallPolicyRuleNetworkProtocols. IPProtocols *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses or Service Tags. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // DestinationPorts - List of destination ports. DestinationPorts *[]string `json:"destinationPorts,omitempty"` // TranslatedAddress - The translated address for this NAT rule. TranslatedAddress *string `json:"translatedAddress,omitempty"` // TranslatedPort - The translated port for this NAT rule. TranslatedPort *string `json:"translatedPort,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` // TranslatedFqdn - The translated FQDN for this NAT rule. TranslatedFqdn *string `json:"translatedFqdn,omitempty"` // Name - Name of the rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeApplicationRule', 'RuleTypeNatRule', 'RuleTypeNetworkRule' RuleType RuleType `json:"ruleType,omitempty"` }
func (nr NatRule) AsApplicationRule() (*ApplicationRule, bool)
AsApplicationRule is the BasicFirewallPolicyRule implementation for NatRule.
func (nr NatRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)
AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for NatRule.
func (nr NatRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for NatRule.
func (nr NatRule) AsNatRule() (*NatRule, bool)
AsNatRule is the BasicFirewallPolicyRule implementation for NatRule.
func (nr NatRule) AsRule() (*Rule, bool)
AsRule is the BasicFirewallPolicyRule implementation for NatRule.
func (nr NatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NatRule.
NatRulePortMapping individual port mappings for inbound NAT rule created for backend pool.
type NatRulePortMapping struct { // InboundNatRuleName - Name of inbound NAT rule. InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` // FrontendPort - Frontend port. FrontendPort *int32 `json:"frontendPort,omitempty"` // BackendPort - Backend port. BackendPort *int32 `json:"backendPort,omitempty"` }
NatRulesClient is the network Client
type NatRulesClient struct { BaseClient }
func NewNatRulesClient(subscriptionID string) NatRulesClient
NewNatRulesClient creates an instance of the NatRulesClient client.
func NewNatRulesClientWithBaseURI(baseURI string, subscriptionID string) NatRulesClient
NewNatRulesClientWithBaseURI creates an instance of the NatRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client NatRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string, natRuleParameters VpnGatewayNatRule) (result NatRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. natRuleName - the name of the nat rule. natRuleParameters - parameters supplied to create or Update a Nat Rule.
func (client NatRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string, natRuleParameters VpnGatewayNatRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client NatRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VpnGatewayNatRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client NatRulesClient) CreateOrUpdateSender(req *http.Request) (future NatRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client NatRulesClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string) (result NatRulesDeleteFuture, err error)
Delete deletes a nat rule. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. natRuleName - the name of the nat rule.
func (client NatRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client NatRulesClient) 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 NatRulesClient) DeleteSender(req *http.Request) (future NatRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client NatRulesClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string) (result VpnGatewayNatRule, err error)
Get retrieves the details of a nat ruleGet. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. natRuleName - the name of the nat rule.
func (client NatRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client NatRulesClient) GetResponder(resp *http.Response) (result VpnGatewayNatRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client NatRulesClient) 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 NatRulesClient) ListByVpnGateway(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnGatewayNatRulesResultPage, err error)
ListByVpnGateway retrieves all nat rules for a particular virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.
func (client NatRulesClient) ListByVpnGatewayComplete(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnGatewayNatRulesResultIterator, err error)
ListByVpnGatewayComplete enumerates all values, automatically crossing page boundaries as required.
func (client NatRulesClient) ListByVpnGatewayPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
ListByVpnGatewayPreparer prepares the ListByVpnGateway request.
func (client NatRulesClient) ListByVpnGatewayResponder(resp *http.Response) (result ListVpnGatewayNatRulesResult, err error)
ListByVpnGatewayResponder handles the response to the ListByVpnGateway request. The method always closes the http.Response Body.
func (client NatRulesClient) ListByVpnGatewaySender(req *http.Request) (*http.Response, error)
ListByVpnGatewaySender sends the ListByVpnGateway request. The method will close the http.Response Body if it receives an error.
NatRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type NatRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NatRulesClient) (VpnGatewayNatRule, error) }
func (future *NatRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
NatRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type NatRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NatRulesClient) (autorest.Response, error) }
func (future *NatRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
NextHopParameters parameters that define the source and destination endpoint.
type NextHopParameters struct { // TargetResourceID - The resource identifier of the target resource against which the action is to be performed. TargetResourceID *string `json:"targetResourceId,omitempty"` // SourceIPAddress - The source IP address. SourceIPAddress *string `json:"sourceIPAddress,omitempty"` // DestinationIPAddress - The destination IP address. DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` // TargetNicResourceID - The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional). TargetNicResourceID *string `json:"targetNicResourceId,omitempty"` }
NextHopResult the information about next hop from the specified VM.
type NextHopResult struct { autorest.Response `json:"-"` // NextHopType - Next hop type. Possible values include: 'NextHopTypeInternet', 'NextHopTypeVirtualAppliance', 'NextHopTypeVirtualNetworkGateway', 'NextHopTypeVnetLocal', 'NextHopTypeHyperNetGateway', 'NextHopTypeNone' NextHopType NextHopType `json:"nextHopType,omitempty"` // NextHopIPAddress - Next hop IP Address. NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` // RouteTableID - The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. RouteTableID *string `json:"routeTableId,omitempty"` }
NextHopType enumerates the values for next hop type.
type NextHopType string
const ( // NextHopTypeHyperNetGateway ... NextHopTypeHyperNetGateway NextHopType = "HyperNetGateway" // NextHopTypeInternet ... NextHopTypeInternet NextHopType = "Internet" // NextHopTypeNone ... NextHopTypeNone NextHopType = "None" // NextHopTypeVirtualAppliance ... NextHopTypeVirtualAppliance NextHopType = "VirtualAppliance" // NextHopTypeVirtualNetworkGateway ... NextHopTypeVirtualNetworkGateway NextHopType = "VirtualNetworkGateway" // NextHopTypeVnetLocal ... NextHopTypeVnetLocal NextHopType = "VnetLocal" )
func PossibleNextHopTypeValues() []NextHopType
PossibleNextHopTypeValues returns an array of possible values for the NextHopType const type.
O365BreakOutCategoryPolicies office365 breakout categories.
type O365BreakOutCategoryPolicies struct { // Allow - Flag to control allow category. Allow *bool `json:"allow,omitempty"` // Optimize - Flag to control optimize category. Optimize *bool `json:"optimize,omitempty"` // Default - Flag to control default category. Default *bool `json:"default,omitempty"` }
O365PolicyProperties the Office365 breakout policy.
type O365PolicyProperties struct { // BreakOutCategories - Office365 breakout categories. BreakOutCategories *O365BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"` }
Office365PolicyProperties network Virtual Appliance Sku Properties.
type Office365PolicyProperties struct { // BreakOutCategories - Office 365 breakout categories. BreakOutCategories *BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"` }
OfficeTrafficCategory enumerates the values for office traffic category.
type OfficeTrafficCategory string
const ( // OfficeTrafficCategoryAll ... OfficeTrafficCategoryAll OfficeTrafficCategory = "All" // OfficeTrafficCategoryNone ... OfficeTrafficCategoryNone OfficeTrafficCategory = "None" // OfficeTrafficCategoryOptimize ... OfficeTrafficCategoryOptimize OfficeTrafficCategory = "Optimize" // OfficeTrafficCategoryOptimizeAndAllow ... OfficeTrafficCategoryOptimizeAndAllow OfficeTrafficCategory = "OptimizeAndAllow" )
func PossibleOfficeTrafficCategoryValues() []OfficeTrafficCategory
PossibleOfficeTrafficCategoryValues returns an array of possible values for the OfficeTrafficCategory const type.
Operation network REST API operation definition.
type Operation struct { // Name - Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Display - Display metadata associated with the operation. Display *OperationDisplay `json:"display,omitempty"` // Origin - Origin of the operation. Origin *string `json:"origin,omitempty"` // OperationPropertiesFormat - Operation properties format. *OperationPropertiesFormat `json:"properties,omitempty"` }
func (o Operation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Operation.
func (o *Operation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Operation struct.
OperationDisplay display metadata associated with the operation.
type OperationDisplay struct { // Provider - Service provider: Microsoft Network. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - Type of the operation: get, read, delete, etc. Operation *string `json:"operation,omitempty"` // Description - Description of the operation. Description *string `json:"description,omitempty"` }
OperationListResult result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Network operations supported by the Network resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
OperationListResultIterator provides access to a complete listing of Operation values.
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (iter *OperationListResultIterator) 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 *OperationListResultIterator) 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 OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
OperationListResultPage contains a page of Operation values.
type OperationListResultPage struct {
// contains filtered or unexported fields
}
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (page *OperationListResultPage) 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 *OperationListResultPage) 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 OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
OperationPropertiesFormat description of operation properties format.
type OperationPropertiesFormat struct { // ServiceSpecification - Specification of the service. ServiceSpecification *OperationPropertiesFormatServiceSpecification `json:"serviceSpecification,omitempty"` }
OperationPropertiesFormatServiceSpecification specification of the service.
type OperationPropertiesFormatServiceSpecification struct { // MetricSpecifications - Operation service specification. MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"` // LogSpecifications - Operation log specification. LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"` }
OperationStatus enumerates the values for operation status.
type OperationStatus string
const ( // OperationStatusFailed ... OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress ... OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded ... OperationStatusSucceeded OperationStatus = "Succeeded" )
func PossibleOperationStatusValues() []OperationStatus
PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
OperationsClient is the network Client
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available Network Rest API operations.
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client OperationsClient) 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.
OrderBy describes a column to sort
type OrderBy struct { // Field - Describes the actual column name to sort by Field *string `json:"field,omitempty"` // Order - Describes if results should be in ascending/descending order. Possible values include: 'FirewallPolicyIDPSQuerySortOrderAscending', 'FirewallPolicyIDPSQuerySortOrderDescending' Order FirewallPolicyIDPSQuerySortOrder `json:"order,omitempty"` }
Origin enumerates the values for origin.
type Origin string
const ( // OriginInbound ... OriginInbound Origin = "Inbound" // OriginLocal ... OriginLocal Origin = "Local" // OriginOutbound ... OriginOutbound Origin = "Outbound" )
func PossibleOriginValues() []Origin
PossibleOriginValues returns an array of possible values for the Origin const type.
OutboundRule outbound rule of the load balancer.
type OutboundRule struct { autorest.Response `json:"-"` // OutboundRulePropertiesFormat - Properties of load balancer outbound rule. *OutboundRulePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (or OutboundRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundRule.
func (or *OutboundRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OutboundRule struct.
OutboundRulePropertiesFormat outbound rule of the load balancer.
type OutboundRulePropertiesFormat struct { // AllocatedOutboundPorts - The number of outbound ports to be used for NAT. AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"` // FrontendIPConfigurations - The Frontend IP addresses of the load balancer. FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"` // BackendAddressPool - A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the outbound rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Protocol - The protocol for the outbound rule in load balancer. Possible values include: 'LoadBalancerOutboundRuleProtocolTCP', 'LoadBalancerOutboundRuleProtocolUDP', 'LoadBalancerOutboundRuleProtocolAll' Protocol LoadBalancerOutboundRuleProtocol `json:"protocol,omitempty"` // EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTCPReset *bool `json:"enableTcpReset,omitempty"` // IdleTimeoutInMinutes - The timeout for the TCP idle connection. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` }
func (orpf OutboundRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundRulePropertiesFormat.
OutputType enumerates the values for output type.
type OutputType string
const ( // OutputTypeWorkspace ... OutputTypeWorkspace OutputType = "Workspace" )
func PossibleOutputTypeValues() []OutputType
PossibleOutputTypeValues returns an array of possible values for the OutputType const type.
OwaspCrsExclusionEntry allow to exclude some variable satisfy the condition for the WAF check.
type OwaspCrsExclusionEntry struct { // MatchVariable - The variable to be excluded. Possible values include: 'OwaspCrsExclusionEntryMatchVariableRequestHeaderNames', 'OwaspCrsExclusionEntryMatchVariableRequestCookieNames', 'OwaspCrsExclusionEntryMatchVariableRequestArgNames', 'OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys', 'OwaspCrsExclusionEntryMatchVariableRequestHeaderValues', 'OwaspCrsExclusionEntryMatchVariableRequestCookieKeys', 'OwaspCrsExclusionEntryMatchVariableRequestCookieValues', 'OwaspCrsExclusionEntryMatchVariableRequestArgKeys', 'OwaspCrsExclusionEntryMatchVariableRequestArgValues' MatchVariable OwaspCrsExclusionEntryMatchVariable `json:"matchVariable,omitempty"` // SelectorMatchOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. Possible values include: 'OwaspCrsExclusionEntrySelectorMatchOperatorEquals', 'OwaspCrsExclusionEntrySelectorMatchOperatorContains', 'OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith', 'OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith', 'OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny' SelectorMatchOperator OwaspCrsExclusionEntrySelectorMatchOperator `json:"selectorMatchOperator,omitempty"` // Selector - When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to. Selector *string `json:"selector,omitempty"` // ExclusionManagedRuleSets - The managed rule sets that are associated with the exclusion. ExclusionManagedRuleSets *[]ExclusionManagedRuleSet `json:"exclusionManagedRuleSets,omitempty"` }
OwaspCrsExclusionEntryMatchVariable enumerates the values for owasp crs exclusion entry match variable.
type OwaspCrsExclusionEntryMatchVariable string
const ( // OwaspCrsExclusionEntryMatchVariableRequestArgKeys ... OwaspCrsExclusionEntryMatchVariableRequestArgKeys OwaspCrsExclusionEntryMatchVariable = "RequestArgKeys" // OwaspCrsExclusionEntryMatchVariableRequestArgNames ... OwaspCrsExclusionEntryMatchVariableRequestArgNames OwaspCrsExclusionEntryMatchVariable = "RequestArgNames" // OwaspCrsExclusionEntryMatchVariableRequestArgValues ... OwaspCrsExclusionEntryMatchVariableRequestArgValues OwaspCrsExclusionEntryMatchVariable = "RequestArgValues" // OwaspCrsExclusionEntryMatchVariableRequestCookieKeys ... OwaspCrsExclusionEntryMatchVariableRequestCookieKeys OwaspCrsExclusionEntryMatchVariable = "RequestCookieKeys" // OwaspCrsExclusionEntryMatchVariableRequestCookieNames ... OwaspCrsExclusionEntryMatchVariableRequestCookieNames OwaspCrsExclusionEntryMatchVariable = "RequestCookieNames" // OwaspCrsExclusionEntryMatchVariableRequestCookieValues ... OwaspCrsExclusionEntryMatchVariableRequestCookieValues OwaspCrsExclusionEntryMatchVariable = "RequestCookieValues" // OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys ... OwaspCrsExclusionEntryMatchVariableRequestHeaderKeys OwaspCrsExclusionEntryMatchVariable = "RequestHeaderKeys" // OwaspCrsExclusionEntryMatchVariableRequestHeaderNames ... OwaspCrsExclusionEntryMatchVariableRequestHeaderNames OwaspCrsExclusionEntryMatchVariable = "RequestHeaderNames" // OwaspCrsExclusionEntryMatchVariableRequestHeaderValues ... OwaspCrsExclusionEntryMatchVariableRequestHeaderValues OwaspCrsExclusionEntryMatchVariable = "RequestHeaderValues" )
func PossibleOwaspCrsExclusionEntryMatchVariableValues() []OwaspCrsExclusionEntryMatchVariable
PossibleOwaspCrsExclusionEntryMatchVariableValues returns an array of possible values for the OwaspCrsExclusionEntryMatchVariable const type.
OwaspCrsExclusionEntrySelectorMatchOperator enumerates the values for owasp crs exclusion entry selector match operator.
type OwaspCrsExclusionEntrySelectorMatchOperator string
const ( // OwaspCrsExclusionEntrySelectorMatchOperatorContains ... OwaspCrsExclusionEntrySelectorMatchOperatorContains OwaspCrsExclusionEntrySelectorMatchOperator = "Contains" // OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith ... OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith OwaspCrsExclusionEntrySelectorMatchOperator = "EndsWith" // OwaspCrsExclusionEntrySelectorMatchOperatorEquals ... OwaspCrsExclusionEntrySelectorMatchOperatorEquals OwaspCrsExclusionEntrySelectorMatchOperator = "Equals" // OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny ... OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny OwaspCrsExclusionEntrySelectorMatchOperator = "EqualsAny" // OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith ... OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith OwaspCrsExclusionEntrySelectorMatchOperator = "StartsWith" )
func PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues() []OwaspCrsExclusionEntrySelectorMatchOperator
PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues returns an array of possible values for the OwaspCrsExclusionEntrySelectorMatchOperator const type.
P2SConnectionConfiguration p2SConnectionConfiguration Resource.
type P2SConnectionConfiguration struct { // P2SConnectionConfigurationProperties - Properties of the P2S connection configuration. *P2SConnectionConfigurationProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (pcc P2SConnectionConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for P2SConnectionConfiguration.
func (pcc *P2SConnectionConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for P2SConnectionConfiguration struct.
P2SConnectionConfigurationProperties parameters for P2SConnectionConfiguration.
type P2SConnectionConfigurationProperties struct { // VpnClientAddressPool - The reference to the address space resource which represents Address space for P2S VpnClient. VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` // RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection. RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` // EnableInternetSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` // ConfigurationPolicyGroupAssociations - READ-ONLY; List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to. ConfigurationPolicyGroupAssociations *[]SubResource `json:"configurationPolicyGroupAssociations,omitempty"` // PreviousConfigurationPolicyGroupAssociations - READ-ONLY; List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to. PreviousConfigurationPolicyGroupAssociations *[]VpnServerConfigurationPolicyGroup `json:"previousConfigurationPolicyGroupAssociations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the P2SConnectionConfiguration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (pccp P2SConnectionConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for P2SConnectionConfigurationProperties.
P2SVpnConnectionHealth p2S Vpn connection detailed health written to sas url.
type P2SVpnConnectionHealth struct { autorest.Response `json:"-"` // SasURL - Returned sas url of the blob to which the p2s vpn connection detailed health will be written. SasURL *string `json:"sasUrl,omitempty"` }
P2SVpnConnectionHealthRequest list of P2S Vpn connection health request.
type P2SVpnConnectionHealthRequest struct { // VpnUserNamesFilter - The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for. VpnUserNamesFilter *[]string `json:"vpnUserNamesFilter,omitempty"` // OutputBlobSasURL - The sas-url to download the P2S Vpn connection health detail. OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"` }
P2SVpnConnectionRequest list of p2s vpn connections to be disconnected.
type P2SVpnConnectionRequest struct { // VpnConnectionIds - List of p2s vpn connection Ids. VpnConnectionIds *[]string `json:"vpnConnectionIds,omitempty"` }
P2SVpnGateway p2SVpnGateway Resource.
type P2SVpnGateway struct { autorest.Response `json:"-"` // P2SVpnGatewayProperties - Properties of the P2SVpnGateway. *P2SVpnGatewayProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (pvg P2SVpnGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for P2SVpnGateway.
func (pvg *P2SVpnGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for P2SVpnGateway struct.
P2SVpnGatewayProperties parameters for P2SVpnGateway.
type P2SVpnGatewayProperties struct { // VirtualHub - The VirtualHub to which the gateway belongs. VirtualHub *SubResource `json:"virtualHub,omitempty"` // P2SConnectionConfigurations - List of all p2s connection configurations of the gateway. P2SConnectionConfigurations *[]P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the P2S VPN gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VpnGatewayScaleUnit - The scale unit for this p2s vpn gateway. VpnGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"` // VpnServerConfiguration - The VpnServerConfiguration to which the p2sVpnGateway is attached to. VpnServerConfiguration *SubResource `json:"vpnServerConfiguration,omitempty"` // VpnClientConnectionHealth - READ-ONLY; All P2S VPN clients' connection health status. VpnClientConnectionHealth *VpnClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty"` // CustomDNSServers - List of all customer specified DNS servers IP addresses. CustomDNSServers *[]string `json:"customDnsServers,omitempty"` // IsRoutingPreferenceInternet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` }
func (pvgp P2SVpnGatewayProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for P2SVpnGatewayProperties.
P2SVpnGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2SVpnGatewaysResetFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (P2SVpnGateway, error) }
func (future *P2SVpnGatewaysResetFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2SVpnProfileParameters vpn Client Parameters for package generation.
type P2SVpnProfileParameters struct { // AuthenticationMethod - VPN client authentication method. Possible values include: 'AuthenticationMethodEAPTLS', 'AuthenticationMethodEAPMSCHAPv2' AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"` }
P2sVpnGatewaysClient is the network Client
type P2sVpnGatewaysClient struct { BaseClient }
func NewP2sVpnGatewaysClient(subscriptionID string) P2sVpnGatewaysClient
NewP2sVpnGatewaysClient creates an instance of the P2sVpnGatewaysClient client.
func NewP2sVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) P2sVpnGatewaysClient
NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client P2sVpnGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters P2SVpnGateway) (result P2sVpnGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway. p2SVpnGatewayParameters - parameters supplied to create or Update a virtual wan p2s vpn gateway.
func (client P2sVpnGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters P2SVpnGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client P2sVpnGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result P2SVpnGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) CreateOrUpdateSender(req *http.Request) (future P2sVpnGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result P2sVpnGatewaysDeleteFuture, err error)
Delete deletes a virtual wan p2s vpn gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway.
func (client P2sVpnGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client P2sVpnGatewaysClient) 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 P2sVpnGatewaysClient) DeleteSender(req *http.Request) (future P2sVpnGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) DisconnectP2sVpnConnections(ctx context.Context, resourceGroupName string, p2sVpnGatewayName string, request P2SVpnConnectionRequest) (result P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture, err error)
DisconnectP2sVpnConnections disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. p2sVpnGatewayName - the name of the P2S Vpn Gateway. request - the parameters are supplied to disconnect p2s vpn connections.
func (client P2sVpnGatewaysClient) DisconnectP2sVpnConnectionsPreparer(ctx context.Context, resourceGroupName string, p2sVpnGatewayName string, request P2SVpnConnectionRequest) (*http.Request, error)
DisconnectP2sVpnConnectionsPreparer prepares the DisconnectP2sVpnConnections request.
func (client P2sVpnGatewaysClient) DisconnectP2sVpnConnectionsResponder(resp *http.Response) (result autorest.Response, err error)
DisconnectP2sVpnConnectionsResponder handles the response to the DisconnectP2sVpnConnections request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) DisconnectP2sVpnConnectionsSender(req *http.Request) (future P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture, err error)
DisconnectP2sVpnConnectionsSender sends the DisconnectP2sVpnConnections request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) GenerateVpnProfile(ctx context.Context, resourceGroupName string, gatewayName string, parameters P2SVpnProfileParameters) (result P2sVpnGatewaysGenerateVpnProfileFuture, err error)
GenerateVpnProfile generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway. parameters - parameters supplied to the generate P2SVpnGateway VPN client package operation.
func (client P2sVpnGatewaysClient) GenerateVpnProfilePreparer(ctx context.Context, resourceGroupName string, gatewayName string, parameters P2SVpnProfileParameters) (*http.Request, error)
GenerateVpnProfilePreparer prepares the GenerateVpnProfile request.
func (client P2sVpnGatewaysClient) GenerateVpnProfileResponder(resp *http.Response) (result VpnProfileResponse, err error)
GenerateVpnProfileResponder handles the response to the GenerateVpnProfile request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) GenerateVpnProfileSender(req *http.Request) (future P2sVpnGatewaysGenerateVpnProfileFuture, err error)
GenerateVpnProfileSender sends the GenerateVpnProfile request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string) (result P2SVpnGateway, err error)
Get retrieves the details of a virtual wan p2s vpn gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealth(ctx context.Context, resourceGroupName string, gatewayName string) (result P2sVpnGatewaysGetP2sVpnConnectionHealthFuture, err error)
GetP2sVpnConnectionHealth gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailed(ctx context.Context, resourceGroupName string, gatewayName string, request P2SVpnConnectionHealthRequest) (result P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture, err error)
GetP2sVpnConnectionHealthDetailed gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway. request - request parameters supplied to get p2s vpn connections detailed health.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedPreparer(ctx context.Context, resourceGroupName string, gatewayName string, request P2SVpnConnectionHealthRequest) (*http.Request, error)
GetP2sVpnConnectionHealthDetailedPreparer prepares the GetP2sVpnConnectionHealthDetailed request.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedResponder(resp *http.Response) (result P2SVpnConnectionHealth, err error)
GetP2sVpnConnectionHealthDetailedResponder handles the response to the GetP2sVpnConnectionHealthDetailed request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedSender(req *http.Request) (future P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture, err error)
GetP2sVpnConnectionHealthDetailedSender sends the GetP2sVpnConnectionHealthDetailed request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
GetP2sVpnConnectionHealthPreparer prepares the GetP2sVpnConnectionHealth request.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthResponder(resp *http.Response) (result P2SVpnGateway, err error)
GetP2sVpnConnectionHealthResponder handles the response to the GetP2sVpnConnectionHealth request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthSender(req *http.Request) (future P2sVpnGatewaysGetP2sVpnConnectionHealthFuture, err error)
GetP2sVpnConnectionHealthSender sends the GetP2sVpnConnectionHealth request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client P2sVpnGatewaysClient) GetResponder(resp *http.Response) (result P2SVpnGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) 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 P2sVpnGatewaysClient) List(ctx context.Context) (result ListP2SVpnGatewaysResultPage, err error)
List lists all the P2SVpnGateways in a subscription.
func (client P2sVpnGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListP2SVpnGatewaysResultPage, err error)
ListByResourceGroup lists all the P2SVpnGateways in a resource group. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway.
func (client P2sVpnGatewaysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListP2SVpnGatewaysResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client P2sVpnGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client P2sVpnGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ListP2SVpnGatewaysResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) ListComplete(ctx context.Context) (result ListP2SVpnGatewaysResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client P2sVpnGatewaysClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client P2sVpnGatewaysClient) ListResponder(resp *http.Response) (result ListP2SVpnGatewaysResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) 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.
func (client P2sVpnGatewaysClient) Reset(ctx context.Context, resourceGroupName string, gatewayName string) (result P2SVpnGatewaysResetFuture, err error)
Reset resets the primary of the p2s vpn gateway in the specified resource group. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway.
func (client P2sVpnGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
ResetPreparer prepares the Reset request.
func (client P2sVpnGatewaysClient) ResetResponder(resp *http.Response) (result P2SVpnGateway, err error)
ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) ResetSender(req *http.Request) (future P2SVpnGatewaysResetFuture, err error)
ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.
func (client P2sVpnGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters TagsObject) (result P2sVpnGatewaysUpdateTagsFuture, err error)
UpdateTags updates virtual wan p2s vpn gateway tags. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway. p2SVpnGatewayParameters - parameters supplied to update a virtual wan p2s vpn gateway tags.
func (client P2sVpnGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client P2sVpnGatewaysClient) UpdateTagsResponder(resp *http.Response) (result P2SVpnGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client P2sVpnGatewaysClient) UpdateTagsSender(req *http.Request) (future P2sVpnGatewaysUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
P2sVpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (P2SVpnGateway, error) }
func (future *P2sVpnGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (autorest.Response, error) }
func (future *P2sVpnGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (autorest.Response, error) }
func (future *P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysGenerateVpnProfileFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (VpnProfileResponse, error) }
func (future *P2sVpnGatewaysGenerateVpnProfileFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (P2SVpnConnectionHealth, error) }
func (future *P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysGetP2sVpnConnectionHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysGetP2sVpnConnectionHealthFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (P2SVpnGateway, error) }
func (future *P2sVpnGatewaysGetP2sVpnConnectionHealthFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
P2sVpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type P2sVpnGatewaysUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(P2sVpnGatewaysClient) (P2SVpnGateway, error) }
func (future *P2sVpnGatewaysUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PacketCapture parameters that define the create packet capture operation.
type PacketCapture struct { // PacketCaptureParameters - Properties of the packet capture. *PacketCaptureParameters `json:"properties,omitempty"` }
func (pc PacketCapture) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PacketCapture.
func (pc *PacketCapture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PacketCapture struct.
PacketCaptureFilter filter that is applied to packet capture request. Multiple filters can be applied.
type PacketCaptureFilter struct { // Protocol - Protocol to be filtered on. Possible values include: 'PcProtocolTCP', 'PcProtocolUDP', 'PcProtocolAny' Protocol PcProtocol `json:"protocol,omitempty"` // LocalIPAddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. LocalIPAddress *string `json:"localIPAddress,omitempty"` // RemoteIPAddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. RemoteIPAddress *string `json:"remoteIPAddress,omitempty"` // LocalPort - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. LocalPort *string `json:"localPort,omitempty"` // RemotePort - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. RemotePort *string `json:"remotePort,omitempty"` }
PacketCaptureListResult list of packet capture sessions.
type PacketCaptureListResult struct { autorest.Response `json:"-"` // Value - Information about packet capture sessions. Value *[]PacketCaptureResult `json:"value,omitempty"` }
PacketCaptureParameters parameters that define the create packet capture operation.
type PacketCaptureParameters struct { // Target - The ID of the targeted resource, only VM is currently supported. Target *string `json:"target,omitempty"` // BytesToCapturePerPacket - Number of bytes captured per packet, the remaining bytes are truncated. BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"` // TotalBytesPerSession - Maximum size of the capture output. TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"` // TimeLimitInSeconds - Maximum duration of the capture session in seconds. TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"` // StorageLocation - The storage location for a packet capture session. StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"` // Filters - A list of packet capture filters. Filters *[]PacketCaptureFilter `json:"filters,omitempty"` }
PacketCaptureQueryStatusResult status of packet capture session.
type PacketCaptureQueryStatusResult struct { autorest.Response `json:"-"` // Name - The name of the packet capture resource. Name *string `json:"name,omitempty"` // ID - The ID of the packet capture resource. ID *string `json:"id,omitempty"` // CaptureStartTime - The start time of the packet capture session. CaptureStartTime *date.Time `json:"captureStartTime,omitempty"` // PacketCaptureStatus - The status of the packet capture session. Possible values include: 'PcStatusNotStarted', 'PcStatusRunning', 'PcStatusStopped', 'PcStatusError', 'PcStatusUnknown' PacketCaptureStatus PcStatus `json:"packetCaptureStatus,omitempty"` // StopReason - The reason the current packet capture session was stopped. StopReason *string `json:"stopReason,omitempty"` // PacketCaptureError - List of errors of packet capture session. PacketCaptureError *[]PcError `json:"packetCaptureError,omitempty"` }
PacketCaptureResult information about packet capture session.
type PacketCaptureResult struct { autorest.Response `json:"-"` // Name - READ-ONLY; Name of the packet capture session. Name *string `json:"name,omitempty"` // ID - READ-ONLY; ID of the packet capture operation. ID *string `json:"id,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // PacketCaptureResultProperties - Properties of the packet capture result. *PacketCaptureResultProperties `json:"properties,omitempty"` }
func (pcr PacketCaptureResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PacketCaptureResult.
func (pcr *PacketCaptureResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PacketCaptureResult struct.
PacketCaptureResultProperties the properties of a packet capture session.
type PacketCaptureResultProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the packet capture session. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Target - The ID of the targeted resource, only VM is currently supported. Target *string `json:"target,omitempty"` // BytesToCapturePerPacket - Number of bytes captured per packet, the remaining bytes are truncated. BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"` // TotalBytesPerSession - Maximum size of the capture output. TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"` // TimeLimitInSeconds - Maximum duration of the capture session in seconds. TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"` // StorageLocation - The storage location for a packet capture session. StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"` // Filters - A list of packet capture filters. Filters *[]PacketCaptureFilter `json:"filters,omitempty"` }
func (pcrp PacketCaptureResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PacketCaptureResultProperties.
PacketCaptureStorageLocation the storage location for a packet capture session.
type PacketCaptureStorageLocation struct { // StorageID - The ID of the storage account to save the packet capture session. Required if no local file path is provided. StorageID *string `json:"storageId,omitempty"` // StoragePath - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. StoragePath *string `json:"storagePath,omitempty"` // FilePath - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional. FilePath *string `json:"filePath,omitempty"` }
PacketCapturesClient is the network Client
type PacketCapturesClient struct { BaseClient }
func NewPacketCapturesClient(subscriptionID string) PacketCapturesClient
NewPacketCapturesClient creates an instance of the PacketCapturesClient client.
func NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) PacketCapturesClient
NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PacketCapturesClient) Create(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture) (result PacketCapturesCreateFuture, err error)
Create create and start a packet capture on the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session. parameters - parameters that define the create packet capture operation.
func (client PacketCapturesClient) CreatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture) (*http.Request, error)
CreatePreparer prepares the Create request.
func (client PacketCapturesClient) CreateResponder(resp *http.Response) (result PacketCaptureResult, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (client PacketCapturesClient) CreateSender(req *http.Request) (future PacketCapturesCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client PacketCapturesClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesDeleteFuture, err error)
Delete deletes the specified packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.
func (client PacketCapturesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PacketCapturesClient) 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 PacketCapturesClient) DeleteSender(req *http.Request) (future PacketCapturesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PacketCapturesClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCaptureResult, err error)
Get gets a packet capture session by name. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.
func (client PacketCapturesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PacketCapturesClient) GetResponder(resp *http.Response) (result PacketCaptureResult, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PacketCapturesClient) 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 PacketCapturesClient) GetStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesGetStatusFuture, err error)
GetStatus query the status of a running packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the Network Watcher resource. packetCaptureName - the name given to the packet capture session.
func (client PacketCapturesClient) GetStatusPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*http.Request, error)
GetStatusPreparer prepares the GetStatus request.
func (client PacketCapturesClient) GetStatusResponder(resp *http.Response) (result PacketCaptureQueryStatusResult, err error)
GetStatusResponder handles the response to the GetStatus request. The method always closes the http.Response Body.
func (client PacketCapturesClient) GetStatusSender(req *http.Request) (future PacketCapturesGetStatusFuture, err error)
GetStatusSender sends the GetStatus request. The method will close the http.Response Body if it receives an error.
func (client PacketCapturesClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result PacketCaptureListResult, err error)
List lists all packet capture sessions within the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the Network Watcher resource.
func (client PacketCapturesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PacketCapturesClient) ListResponder(resp *http.Response) (result PacketCaptureListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PacketCapturesClient) 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.
func (client PacketCapturesClient) Stop(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesStopFuture, err error)
Stop stops a specified packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.
func (client PacketCapturesClient) StopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (client PacketCapturesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (client PacketCapturesClient) StopSender(req *http.Request) (future PacketCapturesStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
PacketCapturesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PacketCapturesCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PacketCapturesClient) (PacketCaptureResult, error) }
func (future *PacketCapturesCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PacketCapturesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PacketCapturesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PacketCapturesClient) (autorest.Response, error) }
func (future *PacketCapturesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PacketCapturesGetStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PacketCapturesGetStatusFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PacketCapturesClient) (PacketCaptureQueryStatusResult, error) }
func (future *PacketCapturesGetStatusFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PacketCapturesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PacketCapturesStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PacketCapturesClient) (autorest.Response, error) }
func (future *PacketCapturesStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PatchRouteFilter route Filter Resource.
type PatchRouteFilter struct { // RouteFilterPropertiesFormat - Properties of the route filter. *RouteFilterPropertiesFormat `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (prf PatchRouteFilter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PatchRouteFilter.
func (prf *PatchRouteFilter) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PatchRouteFilter struct.
PatchRouteFilterRule route Filter Rule Resource.
type PatchRouteFilterRule struct { // RouteFilterRulePropertiesFormat - Properties of the route filter rule. *RouteFilterRulePropertiesFormat `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (prfr PatchRouteFilterRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PatchRouteFilterRule.
func (prfr *PatchRouteFilterRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PatchRouteFilterRule struct.
PcError enumerates the values for pc error.
type PcError string
const ( // PcErrorAgentStopped ... PcErrorAgentStopped PcError = "AgentStopped" // PcErrorCaptureFailed ... PcErrorCaptureFailed PcError = "CaptureFailed" // PcErrorInternalError ... PcErrorInternalError PcError = "InternalError" // PcErrorLocalFileFailed ... PcErrorLocalFileFailed PcError = "LocalFileFailed" // PcErrorStorageFailed ... PcErrorStorageFailed PcError = "StorageFailed" )
func PossiblePcErrorValues() []PcError
PossiblePcErrorValues returns an array of possible values for the PcError const type.
PcProtocol enumerates the values for pc protocol.
type PcProtocol string
const ( // PcProtocolAny ... PcProtocolAny PcProtocol = "Any" // PcProtocolTCP ... PcProtocolTCP PcProtocol = "TCP" // PcProtocolUDP ... PcProtocolUDP PcProtocol = "UDP" )
func PossiblePcProtocolValues() []PcProtocol
PossiblePcProtocolValues returns an array of possible values for the PcProtocol const type.
PcStatus enumerates the values for pc status.
type PcStatus string
const ( // PcStatusError ... PcStatusError PcStatus = "Error" // PcStatusNotStarted ... PcStatusNotStarted PcStatus = "NotStarted" // PcStatusRunning ... PcStatusRunning PcStatus = "Running" // PcStatusStopped ... PcStatusStopped PcStatus = "Stopped" // PcStatusUnknown ... PcStatusUnknown PcStatus = "Unknown" )
func PossiblePcStatusValues() []PcStatus
PossiblePcStatusValues returns an array of possible values for the PcStatus const type.
PeerExpressRouteCircuitConnection peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
type PeerExpressRouteCircuitConnection struct { autorest.Response `json:"-"` // PeerExpressRouteCircuitConnectionPropertiesFormat - Properties of the peer express route circuit connection. *PeerExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (percc PeerExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PeerExpressRouteCircuitConnection.
func (percc *PeerExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PeerExpressRouteCircuitConnection struct.
PeerExpressRouteCircuitConnectionListResult response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit.
type PeerExpressRouteCircuitConnectionListResult struct { autorest.Response `json:"-"` // Value - The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. Value *[]PeerExpressRouteCircuitConnection `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (percclr PeerExpressRouteCircuitConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
PeerExpressRouteCircuitConnectionListResultIterator provides access to a complete listing of PeerExpressRouteCircuitConnection values.
type PeerExpressRouteCircuitConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewPeerExpressRouteCircuitConnectionListResultIterator(page PeerExpressRouteCircuitConnectionListResultPage) PeerExpressRouteCircuitConnectionListResultIterator
Creates a new instance of the PeerExpressRouteCircuitConnectionListResultIterator type.
func (iter *PeerExpressRouteCircuitConnectionListResultIterator) 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 *PeerExpressRouteCircuitConnectionListResultIterator) 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 PeerExpressRouteCircuitConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PeerExpressRouteCircuitConnectionListResultIterator) Response() PeerExpressRouteCircuitConnectionListResult
Response returns the raw server response from the last page request.
func (iter PeerExpressRouteCircuitConnectionListResultIterator) Value() PeerExpressRouteCircuitConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PeerExpressRouteCircuitConnectionListResultPage contains a page of PeerExpressRouteCircuitConnection values.
type PeerExpressRouteCircuitConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewPeerExpressRouteCircuitConnectionListResultPage(cur PeerExpressRouteCircuitConnectionListResult, getNextPage func(context.Context, PeerExpressRouteCircuitConnectionListResult) (PeerExpressRouteCircuitConnectionListResult, error)) PeerExpressRouteCircuitConnectionListResultPage
Creates a new instance of the PeerExpressRouteCircuitConnectionListResultPage type.
func (page *PeerExpressRouteCircuitConnectionListResultPage) 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 *PeerExpressRouteCircuitConnectionListResultPage) 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 PeerExpressRouteCircuitConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PeerExpressRouteCircuitConnectionListResultPage) Response() PeerExpressRouteCircuitConnectionListResult
Response returns the raw server response from the last page request.
func (page PeerExpressRouteCircuitConnectionListResultPage) Values() []PeerExpressRouteCircuitConnection
Values returns the slice of values for the current page or nil if there are no values.
PeerExpressRouteCircuitConnectionPropertiesFormat properties of the peer express route circuit connection.
type PeerExpressRouteCircuitConnectionPropertiesFormat struct { // ExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the circuit. ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` // PeerExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the peered circuit. PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` // AddressPrefix - /29 IP address space to carve out Customer addresses for tunnels. AddressPrefix *string `json:"addressPrefix,omitempty"` // CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'CircuitConnectionStatusConnected', 'CircuitConnectionStatusConnecting', 'CircuitConnectionStatusDisconnected' CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` // ConnectionName - The name of the express route circuit connection resource. ConnectionName *string `json:"connectionName,omitempty"` // AuthResourceGUID - The resource guid of the authorization used for the express route circuit connection. AuthResourceGUID *string `json:"authResourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the peer express route circuit connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (perccpf PeerExpressRouteCircuitConnectionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PeerExpressRouteCircuitConnectionPropertiesFormat.
PeerExpressRouteCircuitConnectionsClient is the network Client
type PeerExpressRouteCircuitConnectionsClient struct { BaseClient }
func NewPeerExpressRouteCircuitConnectionsClient(subscriptionID string) PeerExpressRouteCircuitConnectionsClient
NewPeerExpressRouteCircuitConnectionsClient creates an instance of the PeerExpressRouteCircuitConnectionsClient client.
func NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PeerExpressRouteCircuitConnectionsClient
NewPeerExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the PeerExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PeerExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result PeerExpressRouteCircuitConnection, err error)
Get gets the specified Peer Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the peer express route circuit connection.
func (client PeerExpressRouteCircuitConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PeerExpressRouteCircuitConnectionsClient) GetResponder(resp *http.Response) (result PeerExpressRouteCircuitConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PeerExpressRouteCircuitConnectionsClient) 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 PeerExpressRouteCircuitConnectionsClient) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result PeerExpressRouteCircuitConnectionListResultPage, err error)
List gets all global reach peer connections associated with a private peering in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.
func (client PeerExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result PeerExpressRouteCircuitConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PeerExpressRouteCircuitConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PeerExpressRouteCircuitConnectionsClient) ListResponder(resp *http.Response) (result PeerExpressRouteCircuitConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PeerExpressRouteCircuitConnectionsClient) 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.
PeerRoute peer routing details.
type PeerRoute struct { // LocalAddress - READ-ONLY; The peer's local address. LocalAddress *string `json:"localAddress,omitempty"` // NetworkProperty - READ-ONLY; The route's network prefix. NetworkProperty *string `json:"network,omitempty"` // NextHop - READ-ONLY; The route's next hop. NextHop *string `json:"nextHop,omitempty"` // SourcePeer - READ-ONLY; The peer this route was learned from. SourcePeer *string `json:"sourcePeer,omitempty"` // Origin - READ-ONLY; The source this route was learned from. Origin *string `json:"origin,omitempty"` // AsPath - READ-ONLY; The route's AS path sequence. AsPath *string `json:"asPath,omitempty"` // Weight - READ-ONLY; The route's weight. Weight *int32 `json:"weight,omitempty"` }
func (pr PeerRoute) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PeerRoute.
PeerRouteList list of virtual router peer routes.
type PeerRouteList struct { autorest.Response `json:"-"` // Value - List of peer routes. Value *[]PeerRoute `json:"value,omitempty"` }
PfsGroup enumerates the values for pfs group.
type PfsGroup string
const ( // PfsGroupECP256 ... PfsGroupECP256 PfsGroup = "ECP256" // PfsGroupECP384 ... PfsGroupECP384 PfsGroup = "ECP384" // PfsGroupNone ... PfsGroupNone PfsGroup = "None" // PfsGroupPFS1 ... PfsGroupPFS1 PfsGroup = "PFS1" // PfsGroupPFS14 ... PfsGroupPFS14 PfsGroup = "PFS14" // PfsGroupPFS2 ... PfsGroupPFS2 PfsGroup = "PFS2" // PfsGroupPFS2048 ... PfsGroupPFS2048 PfsGroup = "PFS2048" // PfsGroupPFS24 ... PfsGroupPFS24 PfsGroup = "PFS24" // PfsGroupPFSMM ... PfsGroupPFSMM PfsGroup = "PFSMM" )
func PossiblePfsGroupValues() []PfsGroup
PossiblePfsGroupValues returns an array of possible values for the PfsGroup const type.
PolicySettings defines contents of a web application firewall global configuration.
type PolicySettings struct { // State - The state of the policy. Possible values include: 'WebApplicationFirewallEnabledStateDisabled', 'WebApplicationFirewallEnabledStateEnabled' State WebApplicationFirewallEnabledState `json:"state,omitempty"` // Mode - The mode of the policy. Possible values include: 'WebApplicationFirewallModePrevention', 'WebApplicationFirewallModeDetection' Mode WebApplicationFirewallMode `json:"mode,omitempty"` // RequestBodyCheck - Whether to allow WAF to check request Body. RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` // MaxRequestBodySizeInKb - Maximum request body size in Kb for WAF. MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"` // FileUploadLimitInMb - Maximum file upload size in Mb for WAF. FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"` }
PreferredIPVersion enumerates the values for preferred ip version.
type PreferredIPVersion string
const ( // PreferredIPVersionIPv4 ... PreferredIPVersionIPv4 PreferredIPVersion = "IPv4" // PreferredIPVersionIPv6 ... PreferredIPVersionIPv6 PreferredIPVersion = "IPv6" )
func PossiblePreferredIPVersionValues() []PreferredIPVersion
PossiblePreferredIPVersionValues returns an array of possible values for the PreferredIPVersion const type.
PreferredRoutingGateway enumerates the values for preferred routing gateway.
type PreferredRoutingGateway string
const ( // PreferredRoutingGatewayExpressRoute ... PreferredRoutingGatewayExpressRoute PreferredRoutingGateway = "ExpressRoute" // PreferredRoutingGatewayNone ... PreferredRoutingGatewayNone PreferredRoutingGateway = "None" // PreferredRoutingGatewayVpnGateway ... PreferredRoutingGatewayVpnGateway PreferredRoutingGateway = "VpnGateway" )
func PossiblePreferredRoutingGatewayValues() []PreferredRoutingGateway
PossiblePreferredRoutingGatewayValues returns an array of possible values for the PreferredRoutingGateway const type.
PrepareNetworkPoliciesRequest details of PrepareNetworkPolicies for Subnet.
type PrepareNetworkPoliciesRequest struct { // ServiceName - The name of the service for which subnet is being prepared for. ServiceName *string `json:"serviceName,omitempty"` // NetworkIntentPolicyConfigurations - A list of NetworkIntentPolicyConfiguration. NetworkIntentPolicyConfigurations *[]IntentPolicyConfiguration `json:"networkIntentPolicyConfigurations,omitempty"` }
PrivateDNSZoneConfig privateDnsZoneConfig resource.
type PrivateDNSZoneConfig struct { // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // PrivateDNSZonePropertiesFormat - Properties of the private dns zone configuration. *PrivateDNSZonePropertiesFormat `json:"properties,omitempty"` }
func (pdzc PrivateDNSZoneConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateDNSZoneConfig.
func (pdzc *PrivateDNSZoneConfig) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateDNSZoneConfig struct.
PrivateDNSZoneGroup private dns zone group resource.
type PrivateDNSZoneGroup struct { autorest.Response `json:"-"` // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // PrivateDNSZoneGroupPropertiesFormat - Properties of the private dns zone group. *PrivateDNSZoneGroupPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (pdzg PrivateDNSZoneGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateDNSZoneGroup.
func (pdzg *PrivateDNSZoneGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateDNSZoneGroup struct.
PrivateDNSZoneGroupListResult response for the ListPrivateDnsZoneGroups API service call.
type PrivateDNSZoneGroupListResult struct { autorest.Response `json:"-"` // Value - A list of private dns zone group resources in a private endpoint. Value *[]PrivateDNSZoneGroup `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (pdzglr PrivateDNSZoneGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pdzglr PrivateDNSZoneGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateDNSZoneGroupListResult.
PrivateDNSZoneGroupListResultIterator provides access to a complete listing of PrivateDNSZoneGroup values.
type PrivateDNSZoneGroupListResultIterator struct {
// contains filtered or unexported fields
}
func NewPrivateDNSZoneGroupListResultIterator(page PrivateDNSZoneGroupListResultPage) PrivateDNSZoneGroupListResultIterator
Creates a new instance of the PrivateDNSZoneGroupListResultIterator type.
func (iter *PrivateDNSZoneGroupListResultIterator) 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 *PrivateDNSZoneGroupListResultIterator) 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 PrivateDNSZoneGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PrivateDNSZoneGroupListResultIterator) Response() PrivateDNSZoneGroupListResult
Response returns the raw server response from the last page request.
func (iter PrivateDNSZoneGroupListResultIterator) Value() PrivateDNSZoneGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PrivateDNSZoneGroupListResultPage contains a page of PrivateDNSZoneGroup values.
type PrivateDNSZoneGroupListResultPage struct {
// contains filtered or unexported fields
}
func NewPrivateDNSZoneGroupListResultPage(cur PrivateDNSZoneGroupListResult, getNextPage func(context.Context, PrivateDNSZoneGroupListResult) (PrivateDNSZoneGroupListResult, error)) PrivateDNSZoneGroupListResultPage
Creates a new instance of the PrivateDNSZoneGroupListResultPage type.
func (page *PrivateDNSZoneGroupListResultPage) 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 *PrivateDNSZoneGroupListResultPage) 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 PrivateDNSZoneGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PrivateDNSZoneGroupListResultPage) Response() PrivateDNSZoneGroupListResult
Response returns the raw server response from the last page request.
func (page PrivateDNSZoneGroupListResultPage) Values() []PrivateDNSZoneGroup
Values returns the slice of values for the current page or nil if there are no values.
PrivateDNSZoneGroupPropertiesFormat properties of the private dns zone group.
type PrivateDNSZoneGroupPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the private dns zone group resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateDNSZoneConfigs - A collection of private dns zone configurations of the private dns zone group. PrivateDNSZoneConfigs *[]PrivateDNSZoneConfig `json:"privateDnsZoneConfigs,omitempty"` }
func (pdzgpf PrivateDNSZoneGroupPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateDNSZoneGroupPropertiesFormat.
PrivateDNSZoneGroupsClient is the network Client
type PrivateDNSZoneGroupsClient struct { BaseClient }
func NewPrivateDNSZoneGroupsClient(subscriptionID string) PrivateDNSZoneGroupsClient
NewPrivateDNSZoneGroupsClient creates an instance of the PrivateDNSZoneGroupsClient client.
func NewPrivateDNSZoneGroupsClientWithBaseURI(baseURI string, subscriptionID string) PrivateDNSZoneGroupsClient
NewPrivateDNSZoneGroupsClientWithBaseURI creates an instance of the PrivateDNSZoneGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PrivateDNSZoneGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string, parameters PrivateDNSZoneGroup) (result PrivateDNSZoneGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a private dns zone group in the specified private endpoint. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. privateDNSZoneGroupName - the name of the private dns zone group. parameters - parameters supplied to the create or update private dns zone group operation.
func (client PrivateDNSZoneGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string, parameters PrivateDNSZoneGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client PrivateDNSZoneGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateDNSZoneGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client PrivateDNSZoneGroupsClient) CreateOrUpdateSender(req *http.Request) (future PrivateDNSZoneGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client PrivateDNSZoneGroupsClient) Delete(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string) (result PrivateDNSZoneGroupsDeleteFuture, err error)
Delete deletes the specified private dns zone group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. privateDNSZoneGroupName - the name of the private dns zone group.
func (client PrivateDNSZoneGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PrivateDNSZoneGroupsClient) 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 PrivateDNSZoneGroupsClient) DeleteSender(req *http.Request) (future PrivateDNSZoneGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PrivateDNSZoneGroupsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string) (result PrivateDNSZoneGroup, err error)
Get gets the private dns zone group resource by specified private dns zone group name. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. privateDNSZoneGroupName - the name of the private dns zone group.
func (client PrivateDNSZoneGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PrivateDNSZoneGroupsClient) GetResponder(resp *http.Response) (result PrivateDNSZoneGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PrivateDNSZoneGroupsClient) 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 PrivateDNSZoneGroupsClient) List(ctx context.Context, privateEndpointName string, resourceGroupName string) (result PrivateDNSZoneGroupListResultPage, err error)
List gets all private dns zone groups in a private endpoint. Parameters: privateEndpointName - the name of the private endpoint. resourceGroupName - the name of the resource group.
func (client PrivateDNSZoneGroupsClient) ListComplete(ctx context.Context, privateEndpointName string, resourceGroupName string) (result PrivateDNSZoneGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateDNSZoneGroupsClient) ListPreparer(ctx context.Context, privateEndpointName string, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PrivateDNSZoneGroupsClient) ListResponder(resp *http.Response) (result PrivateDNSZoneGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PrivateDNSZoneGroupsClient) 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.
PrivateDNSZoneGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateDNSZoneGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateDNSZoneGroupsClient) (PrivateDNSZoneGroup, error) }
func (future *PrivateDNSZoneGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateDNSZoneGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateDNSZoneGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateDNSZoneGroupsClient) (autorest.Response, error) }
func (future *PrivateDNSZoneGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateDNSZonePropertiesFormat properties of the private dns zone configuration resource.
type PrivateDNSZonePropertiesFormat struct { // PrivateDNSZoneID - The resource id of the private dns zone. PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty"` // RecordSets - READ-ONLY; A collection of information regarding a recordSet, holding information to identify private resources. RecordSets *[]RecordSet `json:"recordSets,omitempty"` }
func (pdzpf PrivateDNSZonePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateDNSZonePropertiesFormat.
PrivateEndpoint private endpoint resource.
type PrivateEndpoint struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the load balancer. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // PrivateEndpointProperties - Properties of the private endpoint. *PrivateEndpointProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpoint.
func (peVar *PrivateEndpoint) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpoint struct.
PrivateEndpointConnection privateEndpointConnection resource.
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // PrivateEndpointConnectionProperties - Properties of the private end point connection. *PrivateEndpointConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
PrivateEndpointConnectionListResult response for the ListPrivateEndpointConnection API service call.
type PrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - A list of PrivateEndpointConnection resources for a specific private link service. Value *[]PrivateEndpointConnection `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (peclr PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionListResult.
PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.
type PrivateEndpointConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator
Creates a new instance of the PrivateEndpointConnectionListResultIterator type.
func (iter *PrivateEndpointConnectionListResultIterator) 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 *PrivateEndpointConnectionListResultIterator) 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 PrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.
type PrivateEndpointConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
Creates a new instance of the PrivateEndpointConnectionListResultPage type.
func (page *PrivateEndpointConnectionListResultPage) 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 *PrivateEndpointConnectionListResultPage) 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 PrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
Values returns the slice of values for the current page or nil if there are no values.
PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.
type PrivateEndpointConnectionProperties struct { // PrivateEndpoint - READ-ONLY; The resource of private end point. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private endpoint connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // LinkIdentifier - READ-ONLY; The consumer link id. LinkIdentifier *string `json:"linkIdentifier,omitempty"` }
func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.
PrivateEndpointIPConfiguration an IP Configuration of the private endpoint.
type PrivateEndpointIPConfiguration struct { // PrivateEndpointIPConfigurationProperties - Properties of private endpoint IP configurations. *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` }
func (peic PrivateEndpointIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointIPConfiguration.
func (peic *PrivateEndpointIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointIPConfiguration struct.
PrivateEndpointIPConfigurationProperties properties of an IP Configuration of the private endpoint.
type PrivateEndpointIPConfigurationProperties struct { // GroupID - The ID of a group obtained from the remote resource that this private endpoint should connect to. GroupID *string `json:"groupId,omitempty"` // MemberName - The member name of a group obtained from the remote resource that this private endpoint should connect to. MemberName *string `json:"memberName,omitempty"` // PrivateIPAddress - A private ip address obtained from the private endpoint's subnet. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` }
PrivateEndpointListResult response for the ListPrivateEndpoints API service call.
type PrivateEndpointListResult struct { autorest.Response `json:"-"` // Value - A list of private endpoint resources in a resource group. Value *[]PrivateEndpoint `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (pelr PrivateEndpointListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pelr PrivateEndpointListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointListResult.
PrivateEndpointListResultIterator provides access to a complete listing of PrivateEndpoint values.
type PrivateEndpointListResultIterator struct {
// contains filtered or unexported fields
}
func NewPrivateEndpointListResultIterator(page PrivateEndpointListResultPage) PrivateEndpointListResultIterator
Creates a new instance of the PrivateEndpointListResultIterator type.
func (iter *PrivateEndpointListResultIterator) 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 *PrivateEndpointListResultIterator) 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 PrivateEndpointListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PrivateEndpointListResultIterator) Response() PrivateEndpointListResult
Response returns the raw server response from the last page request.
func (iter PrivateEndpointListResultIterator) Value() PrivateEndpoint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PrivateEndpointListResultPage contains a page of PrivateEndpoint values.
type PrivateEndpointListResultPage struct {
// contains filtered or unexported fields
}
func NewPrivateEndpointListResultPage(cur PrivateEndpointListResult, getNextPage func(context.Context, PrivateEndpointListResult) (PrivateEndpointListResult, error)) PrivateEndpointListResultPage
Creates a new instance of the PrivateEndpointListResultPage type.
func (page *PrivateEndpointListResultPage) 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 *PrivateEndpointListResultPage) 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 PrivateEndpointListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PrivateEndpointListResultPage) Response() PrivateEndpointListResult
Response returns the raw server response from the last page request.
func (page PrivateEndpointListResultPage) Values() []PrivateEndpoint
Values returns the slice of values for the current page or nil if there are no values.
PrivateEndpointProperties properties of the private endpoint.
type PrivateEndpointProperties struct { // Subnet - The ID of the subnet from which the private IP will be allocated. Subnet *Subnet `json:"subnet,omitempty"` // NetworkInterfaces - READ-ONLY; An array of references to the network interfaces created for this private endpoint. NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private endpoint resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateLinkServiceConnections - A grouping of information about the connection to the remote resource. PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` // ManualPrivateLinkServiceConnections - A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` // CustomDNSConfigs - An array of custom dns configurations. CustomDNSConfigs *[]CustomDNSConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` // ApplicationSecurityGroups - Application security groups in which the private endpoint IP configuration is included. ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` // IPConfigurations - A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. IPConfigurations *[]PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` // CustomNetworkInterfaceName - The custom name of the network interface attached to the private endpoint. CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` }
func (pep PrivateEndpointProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointProperties.
PrivateEndpointsClient is the network Client
type PrivateEndpointsClient struct { BaseClient }
func NewPrivateEndpointsClient(subscriptionID string) PrivateEndpointsClient
NewPrivateEndpointsClient creates an instance of the PrivateEndpointsClient client.
func NewPrivateEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointsClient
NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PrivateEndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (result PrivateEndpointsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an private endpoint in the specified resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. parameters - parameters supplied to the create or update private endpoint operation.
func (client PrivateEndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client PrivateEndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpoint, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client PrivateEndpointsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client PrivateEndpointsClient) Delete(ctx context.Context, resourceGroupName string, privateEndpointName string) (result PrivateEndpointsDeleteFuture, err error)
Delete deletes the specified private endpoint. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint.
func (client PrivateEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PrivateEndpointsClient) 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 PrivateEndpointsClient) DeleteSender(req *http.Request) (future PrivateEndpointsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PrivateEndpointsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (result PrivateEndpoint, err error)
Get gets the specified private endpoint by resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. expand - expands referenced resources.
func (client PrivateEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PrivateEndpointsClient) GetResponder(resp *http.Response) (result PrivateEndpoint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PrivateEndpointsClient) 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 PrivateEndpointsClient) List(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultPage, err error)
List gets all private endpoints in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client PrivateEndpointsClient) ListBySubscription(ctx context.Context) (result PrivateEndpointListResultPage, err error)
ListBySubscription gets all private endpoints in a subscription.
func (client PrivateEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateEndpointListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client PrivateEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (client PrivateEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (client PrivateEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PrivateEndpointsClient) ListResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PrivateEndpointsClient) 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.
PrivateEndpointsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointsClient) (PrivateEndpoint, error) }
func (future *PrivateEndpointsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointsClient) (autorest.Response, error) }
func (future *PrivateEndpointsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateLinkService private link service resource.
type PrivateLinkService struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the load balancer. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // PrivateLinkServiceProperties - Properties of the private link service. *PrivateLinkServiceProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (pls PrivateLinkService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkService.
func (pls *PrivateLinkService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkService struct.
PrivateLinkServiceConnection privateLinkServiceConnection resource.
type PrivateLinkServiceConnection struct { // PrivateLinkServiceConnectionProperties - Properties of the private link service connection. *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (plsc PrivateLinkServiceConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceConnection.
func (plsc *PrivateLinkServiceConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkServiceConnection struct.
PrivateLinkServiceConnectionProperties properties of the PrivateLinkServiceConnection.
type PrivateLinkServiceConnectionProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the private link service connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateLinkServiceID - The resource id of private link service. PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"` // GroupIds - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. GroupIds *[]string `json:"groupIds,omitempty"` // RequestMessage - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. RequestMessage *string `json:"requestMessage,omitempty"` // PrivateLinkServiceConnectionState - A collection of read-only information about the state of the connection to the remote resource. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
func (plscp PrivateLinkServiceConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionProperties.
PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.
type PrivateLinkServiceConnectionState struct { // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Status *string `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` // ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer. ActionsRequired *string `json:"actionsRequired,omitempty"` }
PrivateLinkServiceIPConfiguration the private link service ip configuration.
type PrivateLinkServiceIPConfiguration struct { // PrivateLinkServiceIPConfigurationProperties - Properties of the private link service ip configuration. *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` // Name - The name of private link service ip configuration. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (plsic PrivateLinkServiceIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceIPConfiguration.
func (plsic *PrivateLinkServiceIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkServiceIPConfiguration struct.
PrivateLinkServiceIPConfigurationProperties properties of private link service IP configuration.
type PrivateLinkServiceIPConfigurationProperties struct { // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - The reference to the subnet resource. Subnet *Subnet `json:"subnet,omitempty"` // Primary - Whether the ip configuration is primary or not. Primary *bool `json:"primary,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private link service IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateIPAddressVersion - Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` }
func (plsicp PrivateLinkServiceIPConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceIPConfigurationProperties.
PrivateLinkServiceListResult response for the ListPrivateLinkService API service call.
type PrivateLinkServiceListResult struct { autorest.Response `json:"-"` // Value - A list of PrivateLinkService resources in a resource group. Value *[]PrivateLinkService `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (plslr PrivateLinkServiceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (plslr PrivateLinkServiceListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceListResult.
PrivateLinkServiceListResultIterator provides access to a complete listing of PrivateLinkService values.
type PrivateLinkServiceListResultIterator struct {
// contains filtered or unexported fields
}
func NewPrivateLinkServiceListResultIterator(page PrivateLinkServiceListResultPage) PrivateLinkServiceListResultIterator
Creates a new instance of the PrivateLinkServiceListResultIterator type.
func (iter *PrivateLinkServiceListResultIterator) 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 *PrivateLinkServiceListResultIterator) 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 PrivateLinkServiceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PrivateLinkServiceListResultIterator) Response() PrivateLinkServiceListResult
Response returns the raw server response from the last page request.
func (iter PrivateLinkServiceListResultIterator) Value() PrivateLinkService
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PrivateLinkServiceListResultPage contains a page of PrivateLinkService values.
type PrivateLinkServiceListResultPage struct {
// contains filtered or unexported fields
}
func NewPrivateLinkServiceListResultPage(cur PrivateLinkServiceListResult, getNextPage func(context.Context, PrivateLinkServiceListResult) (PrivateLinkServiceListResult, error)) PrivateLinkServiceListResultPage
Creates a new instance of the PrivateLinkServiceListResultPage type.
func (page *PrivateLinkServiceListResultPage) 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 *PrivateLinkServiceListResultPage) 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 PrivateLinkServiceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PrivateLinkServiceListResultPage) Response() PrivateLinkServiceListResult
Response returns the raw server response from the last page request.
func (page PrivateLinkServiceListResultPage) Values() []PrivateLinkService
Values returns the slice of values for the current page or nil if there are no values.
PrivateLinkServiceProperties properties of the private link service.
type PrivateLinkServiceProperties struct { // LoadBalancerFrontendIPConfigurations - An array of references to the load balancer IP configurations. LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` // IPConfigurations - An array of private link service IP configurations. IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` // NetworkInterfaces - READ-ONLY; An array of references to the network interfaces created for this private link service. NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private link service resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateEndpointConnections - READ-ONLY; An array of list about connections to the private endpoint. PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` // Visibility - The visibility list of the private link service. Visibility *PrivateLinkServicePropertiesVisibility `json:"visibility,omitempty"` // AutoApproval - The auto-approval list of the private link service. AutoApproval *PrivateLinkServicePropertiesAutoApproval `json:"autoApproval,omitempty"` // Fqdns - The list of Fqdn. Fqdns *[]string `json:"fqdns,omitempty"` // Alias - READ-ONLY; The alias of the private link service. Alias *string `json:"alias,omitempty"` // EnableProxyProtocol - Whether the private link service is enabled for proxy protocol or not. EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` }
func (plsp PrivateLinkServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkServiceProperties.
PrivateLinkServicePropertiesAutoApproval the auto-approval list of the private link service.
type PrivateLinkServicePropertiesAutoApproval struct { // Subscriptions - The list of subscriptions. Subscriptions *[]string `json:"subscriptions,omitempty"` }
PrivateLinkServicePropertiesVisibility the visibility list of the private link service.
type PrivateLinkServicePropertiesVisibility struct { // Subscriptions - The list of subscriptions. Subscriptions *[]string `json:"subscriptions,omitempty"` }
PrivateLinkServiceVisibility response for the CheckPrivateLinkServiceVisibility API service call.
type PrivateLinkServiceVisibility struct { autorest.Response `json:"-"` // Visible - Private Link Service Visibility (True/False). Visible *bool `json:"visible,omitempty"` }
PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkServicesClient) (PrivateLinkServiceVisibility, error) }
func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkServicesClient) (PrivateLinkServiceVisibility, error) }
func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateLinkServicesClient is the network Client
type PrivateLinkServicesClient struct { BaseClient }
func NewPrivateLinkServicesClient(subscriptionID string) PrivateLinkServicesClient
NewPrivateLinkServicesClient creates an instance of the PrivateLinkServicesClient client.
func NewPrivateLinkServicesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkServicesClient
NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibility(ctx context.Context, location string, parameters CheckPrivateLinkServiceVisibilityRequest) (result PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture, err error)
CheckPrivateLinkServiceVisibility checks whether the subscription is visible to private link service. Parameters: location - the location of the domain name. parameters - the request body of CheckPrivateLinkService API call.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroup(ctx context.Context, location string, resourceGroupName string, parameters CheckPrivateLinkServiceVisibilityRequest) (result PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture, err error)
CheckPrivateLinkServiceVisibilityByResourceGroup checks whether the subscription is visible to private link service in the specified resource group. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group. parameters - the request body of CheckPrivateLinkService API call.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string, parameters CheckPrivateLinkServiceVisibilityRequest) (*http.Request, error)
CheckPrivateLinkServiceVisibilityByResourceGroupPreparer prepares the CheckPrivateLinkServiceVisibilityByResourceGroup request.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupResponder(resp *http.Response) (result PrivateLinkServiceVisibility, err error)
CheckPrivateLinkServiceVisibilityByResourceGroupResponder handles the response to the CheckPrivateLinkServiceVisibilityByResourceGroup request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupSender(req *http.Request) (future PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture, err error)
CheckPrivateLinkServiceVisibilityByResourceGroupSender sends the CheckPrivateLinkServiceVisibilityByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityPreparer(ctx context.Context, location string, parameters CheckPrivateLinkServiceVisibilityRequest) (*http.Request, error)
CheckPrivateLinkServiceVisibilityPreparer prepares the CheckPrivateLinkServiceVisibility request.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityResponder(resp *http.Response) (result PrivateLinkServiceVisibility, err error)
CheckPrivateLinkServiceVisibilityResponder handles the response to the CheckPrivateLinkServiceVisibility request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilitySender(req *http.Request) (future PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture, err error)
CheckPrivateLinkServiceVisibilitySender sends the CheckPrivateLinkServiceVisibility request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters PrivateLinkService) (result PrivateLinkServicesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an private link service in the specified resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. parameters - parameters supplied to the create or update private link service operation.
func (client PrivateLinkServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, parameters PrivateLinkService) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client PrivateLinkServicesClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateLinkService, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) CreateOrUpdateSender(req *http.Request) (future PrivateLinkServicesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string) (result PrivateLinkServicesDeleteFuture, err error)
Delete deletes the specified private link service. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service.
func (client PrivateLinkServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PrivateLinkServicesClient) DeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string) (result PrivateLinkServicesDeletePrivateEndpointConnectionFuture, err error)
DeletePrivateEndpointConnection delete private end point connection for a private link service in a subscription. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. peConnectionName - the name of the private end point connection.
func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string) (*http.Request, error)
DeletePrivateEndpointConnectionPreparer prepares the DeletePrivateEndpointConnection request.
func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionResponder(resp *http.Response) (result autorest.Response, err error)
DeletePrivateEndpointConnectionResponder handles the response to the DeletePrivateEndpointConnection request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionSender(req *http.Request) (future PrivateLinkServicesDeletePrivateEndpointConnectionFuture, err error)
DeletePrivateEndpointConnectionSender sends the DeletePrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) 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 PrivateLinkServicesClient) DeleteSender(req *http.Request) (future PrivateLinkServicesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, expand string) (result PrivateLinkService, err error)
Get gets the specified private link service by resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. expand - expands referenced resources.
func (client PrivateLinkServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PrivateLinkServicesClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, expand string) (result PrivateEndpointConnection, err error)
GetPrivateEndpointConnection get the specific private end point connection by specific private link service in the resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. peConnectionName - the name of the private end point connection. expand - expands referenced resources.
func (client PrivateLinkServicesClient) GetPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, expand string) (*http.Request, error)
GetPrivateEndpointConnectionPreparer prepares the GetPrivateEndpointConnection request.
func (client PrivateLinkServicesClient) GetPrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
GetPrivateEndpointConnectionResponder handles the response to the GetPrivateEndpointConnection request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) GetPrivateEndpointConnectionSender(req *http.Request) (*http.Response, error)
GetPrivateEndpointConnectionSender sends the GetPrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) GetResponder(resp *http.Response) (result PrivateLinkService, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) 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 PrivateLinkServicesClient) List(ctx context.Context, resourceGroupName string) (result PrivateLinkServiceListResultPage, err error)
List gets all private link services in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServices(ctx context.Context, location string) (result AutoApprovedPrivateLinkServicesResultPage, err error)
ListAutoApprovedPrivateLinkServices returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. Parameters: location - the location of the domain name.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result AutoApprovedPrivateLinkServicesResultPage, err error)
ListAutoApprovedPrivateLinkServicesByResourceGroup returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result AutoApprovedPrivateLinkServicesResultIterator, err error)
ListAutoApprovedPrivateLinkServicesByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)
ListAutoApprovedPrivateLinkServicesByResourceGroupPreparer prepares the ListAutoApprovedPrivateLinkServicesByResourceGroup request.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupResponder(resp *http.Response) (result AutoApprovedPrivateLinkServicesResult, err error)
ListAutoApprovedPrivateLinkServicesByResourceGroupResponder handles the response to the ListAutoApprovedPrivateLinkServicesByResourceGroup request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupSender(req *http.Request) (*http.Response, error)
ListAutoApprovedPrivateLinkServicesByResourceGroupSender sends the ListAutoApprovedPrivateLinkServicesByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesComplete(ctx context.Context, location string) (result AutoApprovedPrivateLinkServicesResultIterator, err error)
ListAutoApprovedPrivateLinkServicesComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesPreparer(ctx context.Context, location string) (*http.Request, error)
ListAutoApprovedPrivateLinkServicesPreparer prepares the ListAutoApprovedPrivateLinkServices request.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesResponder(resp *http.Response) (result AutoApprovedPrivateLinkServicesResult, err error)
ListAutoApprovedPrivateLinkServicesResponder handles the response to the ListAutoApprovedPrivateLinkServices request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesSender(req *http.Request) (*http.Response, error)
ListAutoApprovedPrivateLinkServicesSender sends the ListAutoApprovedPrivateLinkServices request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) ListBySubscription(ctx context.Context) (result PrivateLinkServiceListResultPage, err error)
ListBySubscription gets all private link service in a subscription.
func (client PrivateLinkServicesClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateLinkServiceListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateLinkServicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client PrivateLinkServicesClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateLinkServiceListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateLinkServiceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateLinkServicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PrivateLinkServicesClient) ListPrivateEndpointConnections(ctx context.Context, resourceGroupName string, serviceName string) (result PrivateEndpointConnectionListResultPage, err error)
ListPrivateEndpointConnections gets all private end point connections for a specific private link service. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service.
func (client PrivateLinkServicesClient) ListPrivateEndpointConnectionsComplete(ctx context.Context, resourceGroupName string, serviceName string) (result PrivateEndpointConnectionListResultIterator, err error)
ListPrivateEndpointConnectionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client PrivateLinkServicesClient) ListPrivateEndpointConnectionsPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)
ListPrivateEndpointConnectionsPreparer prepares the ListPrivateEndpointConnections request.
func (client PrivateLinkServicesClient) ListPrivateEndpointConnectionsResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
ListPrivateEndpointConnectionsResponder handles the response to the ListPrivateEndpointConnections request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) ListPrivateEndpointConnectionsSender(req *http.Request) (*http.Response, error)
ListPrivateEndpointConnectionsSender sends the ListPrivateEndpointConnections request. The method will close the http.Response Body if it receives an error.
func (client PrivateLinkServicesClient) ListResponder(resp *http.Response) (result PrivateLinkServiceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) 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.
func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)
UpdatePrivateEndpointConnection approve or reject private end point connection for a private link service in a subscription. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. peConnectionName - the name of the private end point connection. parameters - parameters supplied to approve or reject the private end point connection.
func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)
UpdatePrivateEndpointConnectionPreparer prepares the UpdatePrivateEndpointConnection request.
func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
UpdatePrivateEndpointConnectionResponder handles the response to the UpdatePrivateEndpointConnection request. The method always closes the http.Response Body.
func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionSender(req *http.Request) (*http.Response, error)
UpdatePrivateEndpointConnectionSender sends the UpdatePrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.
PrivateLinkServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkServicesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkServicesClient) (PrivateLinkService, error) }
func (future *PrivateLinkServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateLinkServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkServicesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkServicesClient) (autorest.Response, error) }
func (future *PrivateLinkServicesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PrivateLinkServicesDeletePrivateEndpointConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkServicesDeletePrivateEndpointConnectionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkServicesClient) (autorest.Response, error) }
func (future *PrivateLinkServicesDeletePrivateEndpointConnectionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Probe a load balancer probe.
type Probe struct { autorest.Response `json:"-"` // ProbePropertiesFormat - Properties of load balancer probe. *ProbePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (p Probe) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Probe.
func (p *Probe) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Probe struct.
ProbePropertiesFormat load balancer probe resource.
type ProbePropertiesFormat struct { // LoadBalancingRules - READ-ONLY; The load balancer rules that use this probe. LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` // Protocol - The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP', 'ProbeProtocolHTTPS' Protocol ProbeProtocol `json:"protocol,omitempty"` // Port - The port for communicating the probe. Possible values range from 1 to 65535, inclusive. Port *int32 `json:"port,omitempty"` // IntervalInSeconds - The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` // NumberOfProbes - The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. NumberOfProbes *int32 `json:"numberOfProbes,omitempty"` // RequestPath - The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. RequestPath *string `json:"requestPath,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the probe resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (ppf ProbePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProbePropertiesFormat.
ProbeProtocol enumerates the values for probe protocol.
type ProbeProtocol string
const ( // ProbeProtocolHTTP ... ProbeProtocolHTTP ProbeProtocol = "Http" // ProbeProtocolHTTPS ... ProbeProtocolHTTPS ProbeProtocol = "Https" // ProbeProtocolTCP ... ProbeProtocolTCP ProbeProtocol = "Tcp" )
func PossibleProbeProtocolValues() []ProbeProtocol
PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type.
ProcessorArchitecture enumerates the values for processor architecture.
type ProcessorArchitecture string
const ( // ProcessorArchitectureAmd64 ... ProcessorArchitectureAmd64 ProcessorArchitecture = "Amd64" // ProcessorArchitectureX86 ... ProcessorArchitectureX86 ProcessorArchitecture = "X86" )
func PossibleProcessorArchitectureValues() []ProcessorArchitecture
PossibleProcessorArchitectureValues returns an array of possible values for the ProcessorArchitecture const type.
Profile network profile resource.
type Profile struct { autorest.Response `json:"-"` // ProfilePropertiesFormat - Network profile properties. *ProfilePropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (p Profile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Profile.
func (p *Profile) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Profile struct.
ProfileListResult response for ListNetworkProfiles API service call.
type ProfileListResult struct { autorest.Response `json:"-"` // Value - A list of network profiles that exist in a resource group. Value *[]Profile `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (plr ProfileListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ProfileListResultIterator provides access to a complete listing of Profile values.
type ProfileListResultIterator struct {
// contains filtered or unexported fields
}
func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator
Creates a new instance of the ProfileListResultIterator type.
func (iter *ProfileListResultIterator) 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 *ProfileListResultIterator) 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 ProfileListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ProfileListResultIterator) Response() ProfileListResult
Response returns the raw server response from the last page request.
func (iter ProfileListResultIterator) Value() Profile
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ProfileListResultPage contains a page of Profile values.
type ProfileListResultPage struct {
// contains filtered or unexported fields
}
func NewProfileListResultPage(cur ProfileListResult, getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage
Creates a new instance of the ProfileListResultPage type.
func (page *ProfileListResultPage) 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 *ProfileListResultPage) 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 ProfileListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ProfileListResultPage) Response() ProfileListResult
Response returns the raw server response from the last page request.
func (page ProfileListResultPage) Values() []Profile
Values returns the slice of values for the current page or nil if there are no values.
ProfilePropertiesFormat network profile properties.
type ProfilePropertiesFormat struct { // ContainerNetworkInterfaces - READ-ONLY; List of child container network interfaces. ContainerNetworkInterfaces *[]ContainerNetworkInterface `json:"containerNetworkInterfaces,omitempty"` // ContainerNetworkInterfaceConfigurations - List of chid container network interface configurations. ContainerNetworkInterfaceConfigurations *[]ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfigurations,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the network profile resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network profile resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (ppf ProfilePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProfilePropertiesFormat.
ProfilesClient is the network Client
type ProfilesClient struct { BaseClient }
func NewProfilesClient(subscriptionID string) ProfilesClient
NewProfilesClient creates an instance of the ProfilesClient client.
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient
NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkProfileName string, parameters Profile) (result Profile, err error)
CreateOrUpdate creates or updates a network profile. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the network profile. parameters - parameters supplied to the create or update network profile operation.
func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkProfileName string, parameters Profile) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result Profile, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, networkProfileName string) (result ProfilesDeleteFuture, err error)
Delete deletes the specified network profile. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the NetworkProfile.
func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkProfileName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ProfilesClient) 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 ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, networkProfileName string, expand string) (result Profile, err error)
Get gets the specified network profile in a specified resource group. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the public IP prefix. expand - expands referenced resources.
func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkProfileName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ProfilesClient) 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 ProfilesClient) List(ctx context.Context, resourceGroupName string) (result ProfileListResultPage, err error)
List gets all network profiles in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ProfilesClient) ListAll(ctx context.Context) (result ProfileListResultPage, err error)
ListAll gets all the network profiles in a subscription.
func (client ProfilesClient) ListAllComplete(ctx context.Context) (result ProfileListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client ProfilesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client ProfilesClient) ListAllResponder(resp *http.Response) (result ProfileListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client ProfilesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client ProfilesClient) ListComplete(ctx context.Context, resourceGroupName string) (result ProfileListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ProfilesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ProfilesClient) ListResponder(resp *http.Response) (result ProfileListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ProfilesClient) 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.
func (client ProfilesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkProfileName string, parameters TagsObject) (result Profile, err error)
UpdateTags updates network profile tags. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the network profile. parameters - parameters supplied to update network profile tags.
func (client ProfilesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkProfileName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ProfilesClient) UpdateTagsResponder(resp *http.Response) (result Profile, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ProfilesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ProfilesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ProfilesClient) (autorest.Response, error) }
func (future *ProfilesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PropagatedRouteTable the list of RouteTables to advertise the routes to.
type PropagatedRouteTable struct { // Labels - The list of labels. Labels *[]string `json:"labels,omitempty"` // Ids - The list of resource ids of all the RouteTables. Ids *[]SubResource `json:"ids,omitempty"` }
Protocol enumerates the values for protocol.
type Protocol string
const ( // ProtocolHTTP ... ProtocolHTTP Protocol = "Http" // ProtocolHTTPS ... ProtocolHTTPS Protocol = "Https" // ProtocolIcmp ... ProtocolIcmp Protocol = "Icmp" // ProtocolTCP ... ProtocolTCP Protocol = "Tcp" )
func PossibleProtocolValues() []Protocol
PossibleProtocolValues returns an array of possible values for the Protocol const type.
ProtocolConfiguration configuration of the protocol.
type ProtocolConfiguration struct { // HTTPConfiguration - HTTP configuration of the connectivity check. HTTPConfiguration *HTTPConfiguration `json:"HTTPConfiguration,omitempty"` }
ProtocolCustomSettingsFormat dDoS custom policy properties.
type ProtocolCustomSettingsFormat struct { // Protocol - The protocol for which the DDoS protection policy is being customized. Possible values include: 'DdosCustomPolicyProtocolTCP', 'DdosCustomPolicyProtocolUDP', 'DdosCustomPolicyProtocolSyn' Protocol DdosCustomPolicyProtocol `json:"protocol,omitempty"` // TriggerRateOverride - The customized DDoS protection trigger rate. TriggerRateOverride *string `json:"triggerRateOverride,omitempty"` // SourceRateOverride - The customized DDoS protection source rate. SourceRateOverride *string `json:"sourceRateOverride,omitempty"` // TriggerSensitivityOverride - The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: 'DdosCustomPolicyTriggerSensitivityOverrideRelaxed', 'DdosCustomPolicyTriggerSensitivityOverrideLow', 'DdosCustomPolicyTriggerSensitivityOverrideDefault', 'DdosCustomPolicyTriggerSensitivityOverrideHigh' TriggerSensitivityOverride DdosCustomPolicyTriggerSensitivityOverride `json:"triggerSensitivityOverride,omitempty"` }
ProtocolType enumerates the values for protocol type.
type ProtocolType string
const ( // ProtocolTypeAh ... ProtocolTypeAh ProtocolType = "Ah" // ProtocolTypeAll ... ProtocolTypeAll ProtocolType = "All" // ProtocolTypeDoNotUse ... ProtocolTypeDoNotUse ProtocolType = "DoNotUse" // ProtocolTypeEsp ... ProtocolTypeEsp ProtocolType = "Esp" // ProtocolTypeGre ... ProtocolTypeGre ProtocolType = "Gre" // ProtocolTypeIcmp ... ProtocolTypeIcmp ProtocolType = "Icmp" // ProtocolTypeTCP ... ProtocolTypeTCP ProtocolType = "Tcp" // ProtocolTypeUDP ... ProtocolTypeUDP ProtocolType = "Udp" // ProtocolTypeVxlan ... ProtocolTypeVxlan ProtocolType = "Vxlan" )
func PossibleProtocolTypeValues() []ProtocolType
PossibleProtocolTypeValues returns an array of possible values for the ProtocolType const type.
ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const ( // ProvisioningStateDeleting ... ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating ... ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
PublicIPAddress public IP address resource.
type PublicIPAddress struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the public ip address. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Sku - The public IP address SKU. Sku *PublicIPAddressSku `json:"sku,omitempty"` // PublicIPAddressPropertiesFormat - Public IP address properties. *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Zones - A list of availability zones denoting the IP allocated for the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (pia PublicIPAddress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicIPAddress.
func (pia *PublicIPAddress) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublicIPAddress struct.
PublicIPAddressDNSSettings contains FQDN of the DNS record associated with the public IP address.
type PublicIPAddressDNSSettings struct { // DomainNameLabel - The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. DomainNameLabel *string `json:"domainNameLabel,omitempty"` // Fqdn - The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. Fqdn *string `json:"fqdn,omitempty"` // ReverseFqdn - The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ReverseFqdn *string `json:"reverseFqdn,omitempty"` }
PublicIPAddressListResult response for ListPublicIpAddresses API service call.
type PublicIPAddressListResult struct { autorest.Response `json:"-"` // Value - A list of public IP addresses that exists in a resource group. Value *[]PublicIPAddress `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (pialr PublicIPAddressListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
PublicIPAddressListResultIterator provides access to a complete listing of PublicIPAddress values.
type PublicIPAddressListResultIterator struct {
// contains filtered or unexported fields
}
func NewPublicIPAddressListResultIterator(page PublicIPAddressListResultPage) PublicIPAddressListResultIterator
Creates a new instance of the PublicIPAddressListResultIterator type.
func (iter *PublicIPAddressListResultIterator) 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 *PublicIPAddressListResultIterator) 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 PublicIPAddressListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PublicIPAddressListResultIterator) Response() PublicIPAddressListResult
Response returns the raw server response from the last page request.
func (iter PublicIPAddressListResultIterator) Value() PublicIPAddress
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PublicIPAddressListResultPage contains a page of PublicIPAddress values.
type PublicIPAddressListResultPage struct {
// contains filtered or unexported fields
}
func NewPublicIPAddressListResultPage(cur PublicIPAddressListResult, getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage
Creates a new instance of the PublicIPAddressListResultPage type.
func (page *PublicIPAddressListResultPage) 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 *PublicIPAddressListResultPage) 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 PublicIPAddressListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PublicIPAddressListResultPage) Response() PublicIPAddressListResult
Response returns the raw server response from the last page request.
func (page PublicIPAddressListResultPage) Values() []PublicIPAddress
Values returns the slice of values for the current page or nil if there are no values.
PublicIPAddressMigrationPhase enumerates the values for public ip address migration phase.
type PublicIPAddressMigrationPhase string
const ( // PublicIPAddressMigrationPhaseAbort ... PublicIPAddressMigrationPhaseAbort PublicIPAddressMigrationPhase = "Abort" // PublicIPAddressMigrationPhaseCommit ... PublicIPAddressMigrationPhaseCommit PublicIPAddressMigrationPhase = "Commit" // PublicIPAddressMigrationPhaseCommitted ... PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed" // PublicIPAddressMigrationPhaseNone ... PublicIPAddressMigrationPhaseNone PublicIPAddressMigrationPhase = "None" // PublicIPAddressMigrationPhasePrepare ... PublicIPAddressMigrationPhasePrepare PublicIPAddressMigrationPhase = "Prepare" )
func PossiblePublicIPAddressMigrationPhaseValues() []PublicIPAddressMigrationPhase
PossiblePublicIPAddressMigrationPhaseValues returns an array of possible values for the PublicIPAddressMigrationPhase const type.
PublicIPAddressPropertiesFormat public IP address properties.
type PublicIPAddressPropertiesFormat struct { // PublicIPAllocationMethod - The public IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PublicIPAllocationMethod IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` // PublicIPAddressVersion - The public IP address version. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"` // IPConfiguration - READ-ONLY; The IP configuration associated with the public IP address. IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` // DNSSettings - The FQDN of the DNS record associated with the public IP address. DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"` // DdosSettings - The DDoS protection custom policy associated with the public IP address. DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` // IPTags - The list of tags associated with the public IP address. IPTags *[]IPTag `json:"ipTags,omitempty"` // IPAddress - The IP address associated with the public IP address resource. IPAddress *string `json:"ipAddress,omitempty"` // PublicIPPrefix - The Public IP Prefix this Public IP Address should be allocated from. PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` // IdleTimeoutInMinutes - The idle timeout of the public IP address. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the public IP address resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the public IP address resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ServicePublicIPAddress - The service public IP address of the public IP address resource. ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` // NatGateway - The NatGateway for the Public IP address. NatGateway *NatGateway `json:"natGateway,omitempty"` // MigrationPhase - Migration phase of Public IP Address. Possible values include: 'PublicIPAddressMigrationPhaseNone', 'PublicIPAddressMigrationPhasePrepare', 'PublicIPAddressMigrationPhaseCommit', 'PublicIPAddressMigrationPhaseAbort', 'PublicIPAddressMigrationPhaseCommitted' MigrationPhase PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` // LinkedPublicIPAddress - The linked public IP address of the public IP address resource. LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` // DeleteOption - Specify what happens to the public IP address when the VM using it is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach' DeleteOption DeleteOptions `json:"deleteOption,omitempty"` }
func (piapf PublicIPAddressPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicIPAddressPropertiesFormat.
PublicIPAddressSku SKU of a public IP address.
type PublicIPAddressSku struct { // Name - Name of a public IP address SKU. Possible values include: 'PublicIPAddressSkuNameBasic', 'PublicIPAddressSkuNameStandard' Name PublicIPAddressSkuName `json:"name,omitempty"` // Tier - Tier of a public IP address SKU. Possible values include: 'PublicIPAddressSkuTierRegional', 'PublicIPAddressSkuTierGlobal' Tier PublicIPAddressSkuTier `json:"tier,omitempty"` }
PublicIPAddressSkuName enumerates the values for public ip address sku name.
type PublicIPAddressSkuName string
const ( // PublicIPAddressSkuNameBasic ... PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" // PublicIPAddressSkuNameStandard ... PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" )
func PossiblePublicIPAddressSkuNameValues() []PublicIPAddressSkuName
PossiblePublicIPAddressSkuNameValues returns an array of possible values for the PublicIPAddressSkuName const type.
PublicIPAddressSkuTier enumerates the values for public ip address sku tier.
type PublicIPAddressSkuTier string
const ( // PublicIPAddressSkuTierGlobal ... PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" // PublicIPAddressSkuTierRegional ... PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" )
func PossiblePublicIPAddressSkuTierValues() []PublicIPAddressSkuTier
PossiblePublicIPAddressSkuTierValues returns an array of possible values for the PublicIPAddressSkuTier const type.
PublicIPAddressesClient is the network Client
type PublicIPAddressesClient struct { BaseClient }
func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient
NewPublicIPAddressesClient creates an instance of the PublicIPAddressesClient client.
func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient
NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PublicIPAddressesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (result PublicIPAddressesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a static or dynamic public IP address. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address. parameters - parameters supplied to the create or update public IP address operation.
func (client PublicIPAddressesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPAddress, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (future PublicIPAddressesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result PublicIPAddressesDeleteFuture, err error)
Delete deletes the specified public IP address. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address.
func (client PublicIPAddressesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PublicIPAddressesClient) 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 PublicIPAddressesClient) DeleteSender(req *http.Request) (future PublicIPAddressesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)
Get gets the specified public IP address in a specified resource group. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address. expand - expands referenced resources.
func (client PublicIPAddressesClient) GetCloudServicePublicIPAddress(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)
GetCloudServicePublicIPAddress get the specified public IP address in a cloud service. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service. roleInstanceName - the role instance name. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the IP configuration. publicIPAddressName - the name of the public IP Address. expand - expands referenced resources.
func (client PublicIPAddressesClient) GetCloudServicePublicIPAddressPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (*http.Request, error)
GetCloudServicePublicIPAddressPreparer prepares the GetCloudServicePublicIPAddress request.
func (client PublicIPAddressesClient) GetCloudServicePublicIPAddressResponder(resp *http.Response) (result PublicIPAddress, err error)
GetCloudServicePublicIPAddressResponder handles the response to the GetCloudServicePublicIPAddress request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) GetCloudServicePublicIPAddressSender(req *http.Request) (*http.Response, error)
GetCloudServicePublicIPAddressSender sends the GetCloudServicePublicIPAddress request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) 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 PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)
GetVirtualMachineScaleSetPublicIPAddress get the specified public IP address in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the IP configuration. publicIPAddressName - the name of the public IP Address. expand - expands referenced resources.
func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (*http.Request, error)
GetVirtualMachineScaleSetPublicIPAddressPreparer prepares the GetVirtualMachineScaleSetPublicIPAddress request.
func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressResponder(resp *http.Response) (result PublicIPAddress, err error)
GetVirtualMachineScaleSetPublicIPAddressResponder handles the response to the GetVirtualMachineScaleSetPublicIPAddress request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressSender(req *http.Request) (*http.Response, error)
GetVirtualMachineScaleSetPublicIPAddressSender sends the GetVirtualMachineScaleSetPublicIPAddress request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultPage, err error)
List gets all public IP addresses in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client PublicIPAddressesClient) ListAll(ctx context.Context) (result PublicIPAddressListResultPage, err error)
ListAll gets all the public IP addresses in a subscription.
func (client PublicIPAddressesClient) ListAllComplete(ctx context.Context) (result PublicIPAddressListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) ListCloudServicePublicIPAddresses(ctx context.Context, resourceGroupName string, cloudServiceName string) (result PublicIPAddressListResultPage, err error)
ListCloudServicePublicIPAddresses gets information about all public IP addresses on a cloud service level. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service.
func (client PublicIPAddressesClient) ListCloudServicePublicIPAddressesComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result PublicIPAddressListResultIterator, err error)
ListCloudServicePublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListCloudServicePublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
ListCloudServicePublicIPAddressesPreparer prepares the ListCloudServicePublicIPAddresses request.
func (client PublicIPAddressesClient) ListCloudServicePublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListCloudServicePublicIPAddressesResponder handles the response to the ListCloudServicePublicIPAddresses request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) ListCloudServicePublicIPAddressesSender(req *http.Request) (*http.Response, error)
ListCloudServicePublicIPAddressesSender sends the ListCloudServicePublicIPAddresses request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddresses(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultPage, err error)
ListCloudServiceRoleInstancePublicIPAddresses gets information about all public IP addresses in a role instance IP configuration in a cloud service. Parameters: resourceGroupName - the name of the resource group. cloudServiceName - the name of the cloud service. roleInstanceName - the name of role instance. networkInterfaceName - the network interface name. IPConfigurationName - the IP configuration name.
func (client PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddressesComplete(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultIterator, err error)
ListCloudServiceRoleInstancePublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)
ListCloudServiceRoleInstancePublicIPAddressesPreparer prepares the ListCloudServiceRoleInstancePublicIPAddresses request.
func (client PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListCloudServiceRoleInstancePublicIPAddressesResponder handles the response to the ListCloudServiceRoleInstancePublicIPAddresses request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddressesSender(req *http.Request) (*http.Response, error)
ListCloudServiceRoleInstancePublicIPAddressesSender sends the ListCloudServiceRoleInstancePublicIPAddresses request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) 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.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResultPage, err error)
ListVirtualMachineScaleSetPublicIPAddresses gets information about all public IP addresses on a virtual machine scale set level. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResultIterator, err error)
ListVirtualMachineScaleSetPublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)
ListVirtualMachineScaleSetPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetPublicIPAddresses request.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListVirtualMachineScaleSetPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetPublicIPAddresses request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetPublicIPAddressesSender sends the ListVirtualMachineScaleSetPublicIPAddresses request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultPage, err error)
ListVirtualMachineScaleSetVMPublicIPAddresses gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the network interface name. IPConfigurationName - the IP configuration name.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultIterator, err error)
ListVirtualMachineScaleSetVMPublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)
ListVirtualMachineScaleSetVMPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetVMPublicIPAddresses request.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListVirtualMachineScaleSetVMPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetVMPublicIPAddresses request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetVMPublicIPAddressesSender sends the ListVirtualMachineScaleSetVMPublicIPAddresses request. The method will close the http.Response Body if it receives an error.
func (client PublicIPAddressesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject) (result PublicIPAddress, err error)
UpdateTags updates public IP address tags. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address. parameters - parameters supplied to update public IP address tags.
func (client PublicIPAddressesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client PublicIPAddressesClient) UpdateTagsResponder(resp *http.Response) (result PublicIPAddress, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client PublicIPAddressesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
PublicIPAddressesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PublicIPAddressesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PublicIPAddressesClient) (PublicIPAddress, error) }
func (future *PublicIPAddressesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PublicIPAddressesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PublicIPAddressesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PublicIPAddressesClient) (autorest.Response, error) }
func (future *PublicIPAddressesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PublicIPPrefix public IP prefix resource.
type PublicIPPrefix struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the public ip address. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Sku - The public IP prefix SKU. Sku *PublicIPPrefixSku `json:"sku,omitempty"` // PublicIPPrefixPropertiesFormat - Public IP prefix properties. *PublicIPPrefixPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Zones - A list of availability zones denoting the IP allocated for the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (pip PublicIPPrefix) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicIPPrefix.
func (pip *PublicIPPrefix) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublicIPPrefix struct.
PublicIPPrefixListResult response for ListPublicIpPrefixes API service call.
type PublicIPPrefixListResult struct { autorest.Response `json:"-"` // Value - A list of public IP prefixes that exists in a resource group. Value *[]PublicIPPrefix `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (piplr PublicIPPrefixListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
PublicIPPrefixListResultIterator provides access to a complete listing of PublicIPPrefix values.
type PublicIPPrefixListResultIterator struct {
// contains filtered or unexported fields
}
func NewPublicIPPrefixListResultIterator(page PublicIPPrefixListResultPage) PublicIPPrefixListResultIterator
Creates a new instance of the PublicIPPrefixListResultIterator type.
func (iter *PublicIPPrefixListResultIterator) 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 *PublicIPPrefixListResultIterator) 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 PublicIPPrefixListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PublicIPPrefixListResultIterator) Response() PublicIPPrefixListResult
Response returns the raw server response from the last page request.
func (iter PublicIPPrefixListResultIterator) Value() PublicIPPrefix
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PublicIPPrefixListResultPage contains a page of PublicIPPrefix values.
type PublicIPPrefixListResultPage struct {
// contains filtered or unexported fields
}
func NewPublicIPPrefixListResultPage(cur PublicIPPrefixListResult, getNextPage func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error)) PublicIPPrefixListResultPage
Creates a new instance of the PublicIPPrefixListResultPage type.
func (page *PublicIPPrefixListResultPage) 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 *PublicIPPrefixListResultPage) 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 PublicIPPrefixListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PublicIPPrefixListResultPage) Response() PublicIPPrefixListResult
Response returns the raw server response from the last page request.
func (page PublicIPPrefixListResultPage) Values() []PublicIPPrefix
Values returns the slice of values for the current page or nil if there are no values.
PublicIPPrefixPropertiesFormat public IP prefix properties.
type PublicIPPrefixPropertiesFormat struct { // PublicIPAddressVersion - The public IP address version. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6' PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"` // IPTags - The list of tags associated with the public IP prefix. IPTags *[]IPTag `json:"ipTags,omitempty"` // PrefixLength - The Length of the Public IP Prefix. PrefixLength *int32 `json:"prefixLength,omitempty"` // IPPrefix - READ-ONLY; The allocated Prefix. IPPrefix *string `json:"ipPrefix,omitempty"` // PublicIPAddresses - READ-ONLY; The list of all referenced PublicIPAddresses. PublicIPAddresses *[]ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty"` // LoadBalancerFrontendIPConfiguration - READ-ONLY; The reference to load balancer frontend IP configuration associated with the public IP prefix. LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty"` // CustomIPPrefix - The customIpPrefix that this prefix is associated with. CustomIPPrefix *SubResource `json:"customIPPrefix,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the public IP prefix resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the public IP prefix resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // NatGateway - NatGateway of Public IP Prefix. NatGateway *NatGateway `json:"natGateway,omitempty"` }
func (pippf PublicIPPrefixPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicIPPrefixPropertiesFormat.
PublicIPPrefixSku SKU of a public IP prefix.
type PublicIPPrefixSku struct { // Name - Name of a public IP prefix SKU. Possible values include: 'PublicIPPrefixSkuNameStandard' Name PublicIPPrefixSkuName `json:"name,omitempty"` // Tier - Tier of a public IP prefix SKU. Possible values include: 'PublicIPPrefixSkuTierRegional', 'PublicIPPrefixSkuTierGlobal' Tier PublicIPPrefixSkuTier `json:"tier,omitempty"` }
PublicIPPrefixSkuName enumerates the values for public ip prefix sku name.
type PublicIPPrefixSkuName string
const ( // PublicIPPrefixSkuNameStandard ... PublicIPPrefixSkuNameStandard PublicIPPrefixSkuName = "Standard" )
func PossiblePublicIPPrefixSkuNameValues() []PublicIPPrefixSkuName
PossiblePublicIPPrefixSkuNameValues returns an array of possible values for the PublicIPPrefixSkuName const type.
PublicIPPrefixSkuTier enumerates the values for public ip prefix sku tier.
type PublicIPPrefixSkuTier string
const ( // PublicIPPrefixSkuTierGlobal ... PublicIPPrefixSkuTierGlobal PublicIPPrefixSkuTier = "Global" // PublicIPPrefixSkuTierRegional ... PublicIPPrefixSkuTierRegional PublicIPPrefixSkuTier = "Regional" )
func PossiblePublicIPPrefixSkuTierValues() []PublicIPPrefixSkuTier
PossiblePublicIPPrefixSkuTierValues returns an array of possible values for the PublicIPPrefixSkuTier const type.
PublicIPPrefixesClient is the network Client
type PublicIPPrefixesClient struct { BaseClient }
func NewPublicIPPrefixesClient(subscriptionID string) PublicIPPrefixesClient
NewPublicIPPrefixesClient creates an instance of the PublicIPPrefixesClient client.
func NewPublicIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPPrefixesClient
NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client PublicIPPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters PublicIPPrefix) (result PublicIPPrefixesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a static or dynamic public IP prefix. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. parameters - parameters supplied to the create or update public IP prefix operation.
func (client PublicIPPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters PublicIPPrefix) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client PublicIPPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPPrefix, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client PublicIPPrefixesClient) CreateOrUpdateSender(req *http.Request) (future PublicIPPrefixesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client PublicIPPrefixesClient) Delete(ctx context.Context, resourceGroupName string, publicIPPrefixName string) (result PublicIPPrefixesDeleteFuture, err error)
Delete deletes the specified public IP prefix. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the PublicIpPrefix.
func (client PublicIPPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client PublicIPPrefixesClient) 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 PublicIPPrefixesClient) DeleteSender(req *http.Request) (future PublicIPPrefixesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client PublicIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, publicIPPrefixName string, expand string) (result PublicIPPrefix, err error)
Get gets the specified public IP prefix in a specified resource group. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. expand - expands referenced resources.
func (client PublicIPPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client PublicIPPrefixesClient) GetResponder(resp *http.Response) (result PublicIPPrefix, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client PublicIPPrefixesClient) 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 PublicIPPrefixesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPPrefixListResultPage, err error)
List gets all public IP prefixes in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client PublicIPPrefixesClient) ListAll(ctx context.Context) (result PublicIPPrefixListResultPage, err error)
ListAll gets all the public IP prefixes in a subscription.
func (client PublicIPPrefixesClient) ListAllComplete(ctx context.Context) (result PublicIPPrefixListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPPrefixesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client PublicIPPrefixesClient) ListAllResponder(resp *http.Response) (result PublicIPPrefixListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client PublicIPPrefixesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client PublicIPPrefixesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPPrefixListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client PublicIPPrefixesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client PublicIPPrefixesClient) ListResponder(resp *http.Response) (result PublicIPPrefixListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client PublicIPPrefixesClient) 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.
func (client PublicIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters TagsObject) (result PublicIPPrefix, err error)
UpdateTags updates public IP prefix tags. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. parameters - parameters supplied to update public IP prefix tags.
func (client PublicIPPrefixesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client PublicIPPrefixesClient) UpdateTagsResponder(resp *http.Response) (result PublicIPPrefix, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client PublicIPPrefixesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
PublicIPPrefixesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PublicIPPrefixesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PublicIPPrefixesClient) (PublicIPPrefix, error) }
func (future *PublicIPPrefixesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PublicIPPrefixesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PublicIPPrefixesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PublicIPPrefixesClient) (autorest.Response, error) }
func (future *PublicIPPrefixesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PutBastionShareableLinkAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PutBastionShareableLinkAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (BastionShareableLinkListResultPage, error) }
func (future *PutBastionShareableLinkAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
PutBastionShareableLinkFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PutBastionShareableLinkFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BaseClient) (BastionShareableLinkListResultPage, error) }
func (future *PutBastionShareableLinkFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
QosDefinition quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
type QosDefinition struct { // Markings - List of markings to be used in the configuration. Markings *[]int32 `json:"markings,omitempty"` // SourceIPRanges - Source IP ranges. SourceIPRanges *[]QosIPRange `json:"sourceIpRanges,omitempty"` // DestinationIPRanges - Destination IP ranges. DestinationIPRanges *[]QosIPRange `json:"destinationIpRanges,omitempty"` // SourcePortRanges - Sources port ranges. SourcePortRanges *[]QosPortRange `json:"sourcePortRanges,omitempty"` // DestinationPortRanges - Destination port ranges. DestinationPortRanges *[]QosPortRange `json:"destinationPortRanges,omitempty"` // Protocol - RNM supported protocol types. Possible values include: 'ProtocolTypeDoNotUse', 'ProtocolTypeIcmp', 'ProtocolTypeTCP', 'ProtocolTypeUDP', 'ProtocolTypeGre', 'ProtocolTypeEsp', 'ProtocolTypeAh', 'ProtocolTypeVxlan', 'ProtocolTypeAll' Protocol ProtocolType `json:"protocol,omitempty"` }
QosIPRange qos Traffic Profiler IP Range properties.
type QosIPRange struct { // StartIP - Start IP Address. StartIP *string `json:"startIP,omitempty"` // EndIP - End IP Address. EndIP *string `json:"endIP,omitempty"` }
QosPortRange qos Traffic Profiler Port range properties.
type QosPortRange struct { // Start - Qos Port Range start. Start *int32 `json:"start,omitempty"` // End - Qos Port Range end. End *int32 `json:"end,omitempty"` }
QueryInboundNatRulePortMappingRequest the request for a QueryInboundNatRulePortMapping API. Either IpConfiguration or IpAddress should be set
type QueryInboundNatRulePortMappingRequest struct { // IPConfiguration - NetworkInterfaceIPConfiguration set in load balancer backend address. IPConfiguration *SubResource `json:"ipConfiguration,omitempty"` // IPAddress - IP address set in load balancer backend address. IPAddress *string `json:"ipAddress,omitempty"` }
QueryResults query result
type QueryResults struct { autorest.Response `json:"-"` // MatchingRecordsCount - Number of total records matching the query. MatchingRecordsCount *int64 `json:"matchingRecordsCount,omitempty"` // Signatures - Array containing the results of the query Signatures *[]SingleQueryResult `json:"signatures,omitempty"` }
QueryTroubleshootingParameters parameters that define the resource to query the troubleshooting result.
type QueryTroubleshootingParameters struct { // TargetResourceID - The target resource ID to query the troubleshooting result. TargetResourceID *string `json:"targetResourceId,omitempty"` }
RadiusServer radius Server Settings.
type RadiusServer struct { // RadiusServerAddress - The address of this radius server. RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` // RadiusServerScore - The initial score assigned to this radius server. RadiusServerScore *int64 `json:"radiusServerScore,omitempty"` // RadiusServerSecret - The secret used for this radius server. RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` }
RecordSet a collective group of information about the record set information.
type RecordSet struct { // RecordType - Resource record type. RecordType *string `json:"recordType,omitempty"` // RecordSetName - Recordset name. RecordSetName *string `json:"recordSetName,omitempty"` // Fqdn - Fqdn that resolves to private endpoint ip address. Fqdn *string `json:"fqdn,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the recordset. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // TTL - Recordset time to live. TTL *int32 `json:"ttl,omitempty"` // IPAddresses - The private ip address of the private endpoint. IPAddresses *[]string `json:"ipAddresses,omitempty"` }
func (rs RecordSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecordSet.
ReferencedPublicIPAddress reference to a public IP address.
type ReferencedPublicIPAddress struct { // ID - The PublicIPAddress Reference. ID *string `json:"id,omitempty"` }
Resource common resource representation.
type Resource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
ResourceIdentityType enumerates the values for resource identity type.
type ResourceIdentityType string
const ( // ResourceIdentityTypeNone ... ResourceIdentityTypeNone ResourceIdentityType = "None" // ResourceIdentityTypeSystemAssigned ... ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" // ResourceIdentityTypeSystemAssignedUserAssigned ... ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" // ResourceIdentityTypeUserAssigned ... ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" )
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
ResourceNavigationLink resourceNavigationLink resource.
type ResourceNavigationLink struct { // ResourceNavigationLinkFormat - Resource navigation link properties format. *ResourceNavigationLinkFormat `json:"properties,omitempty"` // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (rnl ResourceNavigationLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceNavigationLink.
func (rnl *ResourceNavigationLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ResourceNavigationLink struct.
ResourceNavigationLinkFormat properties of ResourceNavigationLink.
type ResourceNavigationLinkFormat struct { // LinkedResourceType - Resource type of the linked resource. LinkedResourceType *string `json:"linkedResourceType,omitempty"` // Link - Link to the external resource. Link *string `json:"link,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource navigation link resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (rnlf ResourceNavigationLinkFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceNavigationLinkFormat.
ResourceNavigationLinksClient is the network Client
type ResourceNavigationLinksClient struct { BaseClient }
func NewResourceNavigationLinksClient(subscriptionID string) ResourceNavigationLinksClient
NewResourceNavigationLinksClient creates an instance of the ResourceNavigationLinksClient client.
func NewResourceNavigationLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceNavigationLinksClient
NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ResourceNavigationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result ResourceNavigationLinksListResult, err error)
List gets a list of resource navigation links for a subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.
func (client ResourceNavigationLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ResourceNavigationLinksClient) ListResponder(resp *http.Response) (result ResourceNavigationLinksListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ResourceNavigationLinksClient) 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.
ResourceNavigationLinksListResult response for ResourceNavigationLinks_List operation.
type ResourceNavigationLinksListResult struct { autorest.Response `json:"-"` // Value - The resource navigation links in a subnet. Value *[]ResourceNavigationLink `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (rnllr ResourceNavigationLinksListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceNavigationLinksListResult.
ResourceSet the base resource set for visibility and auto-approval.
type ResourceSet struct { // Subscriptions - The list of subscriptions. Subscriptions *[]string `json:"subscriptions,omitempty"` }
RetentionPolicyParameters parameters that define the retention policy for flow log.
type RetentionPolicyParameters struct { // Days - Number of days to retain flow log records. Days *int32 `json:"days,omitempty"` // Enabled - Flag to enable/disable retention. Enabled *bool `json:"enabled,omitempty"` }
Route route resource.
type Route struct { autorest.Response `json:"-"` // RoutePropertiesFormat - Properties of the route. *RoutePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (r Route) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Route.
func (r *Route) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Route struct.
RouteFilter route Filter Resource.
type RouteFilter struct { autorest.Response `json:"-"` // RouteFilterPropertiesFormat - Properties of the route filter. *RouteFilterPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (rf RouteFilter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteFilter.
func (rf *RouteFilter) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RouteFilter struct.
RouteFilterListResult response for the ListRouteFilters API service call.
type RouteFilterListResult struct { autorest.Response `json:"-"` // Value - A list of route filters in a resource group. Value *[]RouteFilter `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (rflr RouteFilterListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
RouteFilterListResultIterator provides access to a complete listing of RouteFilter values.
type RouteFilterListResultIterator struct {
// contains filtered or unexported fields
}
func NewRouteFilterListResultIterator(page RouteFilterListResultPage) RouteFilterListResultIterator
Creates a new instance of the RouteFilterListResultIterator type.
func (iter *RouteFilterListResultIterator) 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 *RouteFilterListResultIterator) 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 RouteFilterListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter RouteFilterListResultIterator) Response() RouteFilterListResult
Response returns the raw server response from the last page request.
func (iter RouteFilterListResultIterator) Value() RouteFilter
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
RouteFilterListResultPage contains a page of RouteFilter values.
type RouteFilterListResultPage struct {
// contains filtered or unexported fields
}
func NewRouteFilterListResultPage(cur RouteFilterListResult, getNextPage func(context.Context, RouteFilterListResult) (RouteFilterListResult, error)) RouteFilterListResultPage
Creates a new instance of the RouteFilterListResultPage type.
func (page *RouteFilterListResultPage) 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 *RouteFilterListResultPage) 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 RouteFilterListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page RouteFilterListResultPage) Response() RouteFilterListResult
Response returns the raw server response from the last page request.
func (page RouteFilterListResultPage) Values() []RouteFilter
Values returns the slice of values for the current page or nil if there are no values.
RouteFilterPropertiesFormat route Filter Resource.
type RouteFilterPropertiesFormat struct { // Rules - Collection of RouteFilterRules contained within a route filter. Rules *[]RouteFilterRule `json:"rules,omitempty"` // Peerings - READ-ONLY; A collection of references to express route circuit peerings. Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"` // Ipv6Peerings - READ-ONLY; A collection of references to express route circuit ipv6 peerings. Ipv6Peerings *[]ExpressRouteCircuitPeering `json:"ipv6Peerings,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the route filter resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (rfpf RouteFilterPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteFilterPropertiesFormat.
RouteFilterRule route Filter Rule Resource.
type RouteFilterRule struct { autorest.Response `json:"-"` // RouteFilterRulePropertiesFormat - Properties of the route filter rule. *RouteFilterRulePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (rfr RouteFilterRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteFilterRule.
func (rfr *RouteFilterRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RouteFilterRule struct.
RouteFilterRuleListResult response for the ListRouteFilterRules API service call.
type RouteFilterRuleListResult struct { autorest.Response `json:"-"` // Value - A list of RouteFilterRules in a resource group. Value *[]RouteFilterRule `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (rfrlr RouteFilterRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
RouteFilterRuleListResultIterator provides access to a complete listing of RouteFilterRule values.
type RouteFilterRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewRouteFilterRuleListResultIterator(page RouteFilterRuleListResultPage) RouteFilterRuleListResultIterator
Creates a new instance of the RouteFilterRuleListResultIterator type.
func (iter *RouteFilterRuleListResultIterator) 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 *RouteFilterRuleListResultIterator) 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 RouteFilterRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter RouteFilterRuleListResultIterator) Response() RouteFilterRuleListResult
Response returns the raw server response from the last page request.
func (iter RouteFilterRuleListResultIterator) Value() RouteFilterRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
RouteFilterRuleListResultPage contains a page of RouteFilterRule values.
type RouteFilterRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewRouteFilterRuleListResultPage(cur RouteFilterRuleListResult, getNextPage func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error)) RouteFilterRuleListResultPage
Creates a new instance of the RouteFilterRuleListResultPage type.
func (page *RouteFilterRuleListResultPage) 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 *RouteFilterRuleListResultPage) 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 RouteFilterRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page RouteFilterRuleListResultPage) Response() RouteFilterRuleListResult
Response returns the raw server response from the last page request.
func (page RouteFilterRuleListResultPage) Values() []RouteFilterRule
Values returns the slice of values for the current page or nil if there are no values.
RouteFilterRulePropertiesFormat route Filter Rule Resource.
type RouteFilterRulePropertiesFormat struct { // Access - The access type of the rule. Possible values include: 'AccessAllow', 'AccessDeny' Access Access `json:"access,omitempty"` // RouteFilterRuleType - The rule type of the rule. RouteFilterRuleType *string `json:"routeFilterRuleType,omitempty"` // Communities - The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. Communities *[]string `json:"communities,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the route filter rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (rfrpf RouteFilterRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteFilterRulePropertiesFormat.
RouteFilterRulesClient is the network Client
type RouteFilterRulesClient struct { BaseClient }
func NewRouteFilterRulesClient(subscriptionID string) RouteFilterRulesClient
NewRouteFilterRulesClient creates an instance of the RouteFilterRulesClient client.
func NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) RouteFilterRulesClient
NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RouteFilterRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule) (result RouteFilterRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a route in the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the route filter rule. routeFilterRuleParameters - parameters supplied to the create or update route filter rule operation.
func (client RouteFilterRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client RouteFilterRulesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteFilterRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client RouteFilterRulesClient) CreateOrUpdateSender(req *http.Request) (future RouteFilterRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client RouteFilterRulesClient) Delete(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRulesDeleteFuture, err error)
Delete deletes the specified rule from a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the rule.
func (client RouteFilterRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client RouteFilterRulesClient) 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 RouteFilterRulesClient) DeleteSender(req *http.Request) (future RouteFilterRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client RouteFilterRulesClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRule, err error)
Get gets the specified rule from a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the rule.
func (client RouteFilterRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client RouteFilterRulesClient) GetResponder(resp *http.Response) (result RouteFilterRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client RouteFilterRulesClient) 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 RouteFilterRulesClient) ListByRouteFilter(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResultPage, err error)
ListByRouteFilter gets all RouteFilterRules in a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter.
func (client RouteFilterRulesClient) ListByRouteFilterComplete(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResultIterator, err error)
ListByRouteFilterComplete enumerates all values, automatically crossing page boundaries as required.
func (client RouteFilterRulesClient) ListByRouteFilterPreparer(ctx context.Context, resourceGroupName string, routeFilterName string) (*http.Request, error)
ListByRouteFilterPreparer prepares the ListByRouteFilter request.
func (client RouteFilterRulesClient) ListByRouteFilterResponder(resp *http.Response) (result RouteFilterRuleListResult, err error)
ListByRouteFilterResponder handles the response to the ListByRouteFilter request. The method always closes the http.Response Body.
func (client RouteFilterRulesClient) ListByRouteFilterSender(req *http.Request) (*http.Response, error)
ListByRouteFilterSender sends the ListByRouteFilter request. The method will close the http.Response Body if it receives an error.
RouteFilterRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteFilterRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteFilterRulesClient) (RouteFilterRule, error) }
func (future *RouteFilterRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RouteFilterRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteFilterRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteFilterRulesClient) (autorest.Response, error) }
func (future *RouteFilterRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RouteFiltersClient is the network Client
type RouteFiltersClient struct { BaseClient }
func NewRouteFiltersClient(subscriptionID string) RouteFiltersClient
NewRouteFiltersClient creates an instance of the RouteFiltersClient client.
func NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) RouteFiltersClient
NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RouteFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter) (result RouteFiltersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a route filter in a specified resource group. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. routeFilterParameters - parameters supplied to the create or update route filter operation.
func (client RouteFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client RouteFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result RouteFilter, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client RouteFiltersClient) CreateOrUpdateSender(req *http.Request) (future RouteFiltersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client RouteFiltersClient) Delete(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFiltersDeleteFuture, err error)
Delete deletes the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter.
func (client RouteFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeFilterName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client RouteFiltersClient) 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 RouteFiltersClient) DeleteSender(req *http.Request) (future RouteFiltersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client RouteFiltersClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, expand string) (result RouteFilter, err error)
Get gets the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. expand - expands referenced express route bgp peering resources.
func (client RouteFiltersClient) GetPreparer(ctx context.Context, resourceGroupName string, routeFilterName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client RouteFiltersClient) GetResponder(resp *http.Response) (result RouteFilter, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client RouteFiltersClient) 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 RouteFiltersClient) List(ctx context.Context) (result RouteFilterListResultPage, err error)
List gets all route filters in a subscription.
func (client RouteFiltersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RouteFilterListResultPage, err error)
ListByResourceGroup gets all route filters in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client RouteFiltersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RouteFilterListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client RouteFiltersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client RouteFiltersClient) ListByResourceGroupResponder(resp *http.Response) (result RouteFilterListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client RouteFiltersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client RouteFiltersClient) ListComplete(ctx context.Context) (result RouteFilterListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client RouteFiltersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client RouteFiltersClient) ListResponder(resp *http.Response) (result RouteFilterListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client RouteFiltersClient) 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.
func (client RouteFiltersClient) UpdateTags(ctx context.Context, resourceGroupName string, routeFilterName string, parameters TagsObject) (result RouteFilter, err error)
UpdateTags updates tags of a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. parameters - parameters supplied to update route filter tags.
func (client RouteFiltersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, routeFilterName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client RouteFiltersClient) UpdateTagsResponder(resp *http.Response) (result RouteFilter, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client RouteFiltersClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
RouteFiltersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteFiltersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteFiltersClient) (RouteFilter, error) }
func (future *RouteFiltersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RouteFiltersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteFiltersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteFiltersClient) (autorest.Response, error) }
func (future *RouteFiltersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RouteListResult response for the ListRoute API service call.
type RouteListResult struct { autorest.Response `json:"-"` // Value - A list of routes in a resource group. Value *[]Route `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (rlr RouteListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
RouteListResultIterator provides access to a complete listing of Route values.
type RouteListResultIterator struct {
// contains filtered or unexported fields
}
func NewRouteListResultIterator(page RouteListResultPage) RouteListResultIterator
Creates a new instance of the RouteListResultIterator type.
func (iter *RouteListResultIterator) 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 *RouteListResultIterator) 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 RouteListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter RouteListResultIterator) Response() RouteListResult
Response returns the raw server response from the last page request.
func (iter RouteListResultIterator) Value() Route
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
RouteListResultPage contains a page of Route values.
type RouteListResultPage struct {
// contains filtered or unexported fields
}
func NewRouteListResultPage(cur RouteListResult, getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage
Creates a new instance of the RouteListResultPage type.
func (page *RouteListResultPage) 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 *RouteListResultPage) 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 RouteListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page RouteListResultPage) Response() RouteListResult
Response returns the raw server response from the last page request.
func (page RouteListResultPage) Values() []Route
Values returns the slice of values for the current page or nil if there are no values.
RouteNextHopType enumerates the values for route next hop type.
type RouteNextHopType string
const ( // RouteNextHopTypeInternet ... RouteNextHopTypeInternet RouteNextHopType = "Internet" // RouteNextHopTypeNone ... RouteNextHopTypeNone RouteNextHopType = "None" // RouteNextHopTypeVirtualAppliance ... RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" // RouteNextHopTypeVirtualNetworkGateway ... RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" // RouteNextHopTypeVnetLocal ... RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" )
func PossibleRouteNextHopTypeValues() []RouteNextHopType
PossibleRouteNextHopTypeValues returns an array of possible values for the RouteNextHopType const type.
RoutePropertiesFormat route resource.
type RoutePropertiesFormat struct { // AddressPrefix - The destination CIDR to which the route applies. AddressPrefix *string `json:"addressPrefix,omitempty"` // NextHopType - The type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone' NextHopType RouteNextHopType `json:"nextHopType,omitempty"` // NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the route resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // HasBgpOverride - A value indicating whether this route overrides overlapping BGP routes regardless of LPM. HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` }
func (rpf RoutePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoutePropertiesFormat.
RouteTable route table resource.
type RouteTable struct { autorest.Response `json:"-"` // RouteTablePropertiesFormat - Properties of the route table. *RouteTablePropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (rt RouteTable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteTable.
func (rt *RouteTable) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RouteTable struct.
RouteTableListResult response for the ListRouteTable API service call.
type RouteTableListResult struct { autorest.Response `json:"-"` // Value - A list of route tables in a resource group. Value *[]RouteTable `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (rtlr RouteTableListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
RouteTableListResultIterator provides access to a complete listing of RouteTable values.
type RouteTableListResultIterator struct {
// contains filtered or unexported fields
}
func NewRouteTableListResultIterator(page RouteTableListResultPage) RouteTableListResultIterator
Creates a new instance of the RouteTableListResultIterator type.
func (iter *RouteTableListResultIterator) 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 *RouteTableListResultIterator) 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 RouteTableListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter RouteTableListResultIterator) Response() RouteTableListResult
Response returns the raw server response from the last page request.
func (iter RouteTableListResultIterator) Value() RouteTable
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
RouteTableListResultPage contains a page of RouteTable values.
type RouteTableListResultPage struct {
// contains filtered or unexported fields
}
func NewRouteTableListResultPage(cur RouteTableListResult, getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage
Creates a new instance of the RouteTableListResultPage type.
func (page *RouteTableListResultPage) 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 *RouteTableListResultPage) 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 RouteTableListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page RouteTableListResultPage) Response() RouteTableListResult
Response returns the raw server response from the last page request.
func (page RouteTableListResultPage) Values() []RouteTable
Values returns the slice of values for the current page or nil if there are no values.
RouteTablePropertiesFormat route Table resource.
type RouteTablePropertiesFormat struct { // Routes - Collection of routes contained within a route table. Routes *[]Route `json:"routes,omitempty"` // Subnets - READ-ONLY; A collection of references to subnets. Subnets *[]Subnet `json:"subnets,omitempty"` // DisableBgpRoutePropagation - Whether to disable the routes learned by BGP on that route table. True means disable. DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the route table resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the route table. ResourceGUID *string `json:"resourceGuid,omitempty"` }
func (rtpf RouteTablePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteTablePropertiesFormat.
RouteTablesClient is the network Client
type RouteTablesClient struct { BaseClient }
func NewRouteTablesClient(subscriptionID string) RouteTablesClient
NewRouteTablesClient creates an instance of the RouteTablesClient client.
func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient
NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (result RouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdate create or updates a route table in a specified resource group. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. parameters - parameters supplied to the create or update route table operation.
func (client RouteTablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteTable, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client RouteTablesClient) CreateOrUpdateSender(req *http.Request) (future RouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client RouteTablesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteTablesDeleteFuture, err error)
Delete deletes the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.
func (client RouteTablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client RouteTablesClient) 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 RouteTablesClient) DeleteSender(req *http.Request) (future RouteTablesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client RouteTablesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error)
Get gets the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. expand - expands referenced resources.
func (client RouteTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteTable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client RouteTablesClient) 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 RouteTablesClient) List(ctx context.Context, resourceGroupName string) (result RouteTableListResultPage, err error)
List gets all route tables in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client RouteTablesClient) ListAll(ctx context.Context) (result RouteTableListResultPage, err error)
ListAll gets all route tables in a subscription.
func (client RouteTablesClient) ListAllComplete(ctx context.Context) (result RouteTableListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client RouteTablesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client RouteTablesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client RouteTablesClient) ListComplete(ctx context.Context, resourceGroupName string) (result RouteTableListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client RouteTablesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client RouteTablesClient) ListResponder(resp *http.Response) (result RouteTableListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client RouteTablesClient) 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.
func (client RouteTablesClient) UpdateTags(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject) (result RouteTable, err error)
UpdateTags updates a route table tags. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. parameters - parameters supplied to update route table tags.
func (client RouteTablesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client RouteTablesClient) UpdateTagsResponder(resp *http.Response) (result RouteTable, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client RouteTablesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
RouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteTablesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteTablesClient) (RouteTable, error) }
func (future *RouteTablesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RouteTablesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RouteTablesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RouteTablesClient) (autorest.Response, error) }
func (future *RouteTablesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RoutesClient is the network Client
type RoutesClient struct { BaseClient }
func NewRoutesClient(subscriptionID string) RoutesClient
NewRoutesClient creates an instance of the RoutesClient client.
func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient
NewRoutesClientWithBaseURI creates an instance of the RoutesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RoutesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (result RoutesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a route in the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route. routeParameters - parameters supplied to the create or update route operation.
func (client RoutesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result Route, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client RoutesClient) CreateOrUpdateSender(req *http.Request) (future RoutesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client RoutesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result RoutesDeleteFuture, err error)
Delete deletes the specified route from a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.
func (client RoutesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client RoutesClient) 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 RoutesClient) DeleteSender(req *http.Request) (future RoutesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result Route, err error)
Get gets the specified route from a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.
func (client RoutesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client RoutesClient) 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 RoutesClient) List(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultPage, err error)
List gets all routes in a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.
func (client RoutesClient) ListComplete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client RoutesClient) ListPreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client RoutesClient) ListResponder(resp *http.Response) (result RouteListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client RoutesClient) 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.
RoutesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RoutesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoutesClient) (Route, error) }
func (future *RoutesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RoutesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RoutesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoutesClient) (autorest.Response, error) }
func (future *RoutesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RoutingConfiguration routing Configuration indicating the associated and propagated route tables for this connection.
type RoutingConfiguration struct { // AssociatedRouteTable - The resource id RouteTable associated with this RoutingConfiguration. AssociatedRouteTable *SubResource `json:"associatedRouteTable,omitempty"` // PropagatedRouteTables - The list of RouteTables to advertise the routes to. PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"` // VnetRoutes - List of routes that control routing from VirtualHub into a virtual network connection. VnetRoutes *VnetRoute `json:"vnetRoutes,omitempty"` }
RoutingIntent the routing intent child resource of a Virtual hub.
type RoutingIntent struct { autorest.Response `json:"-"` // RoutingIntentProperties - Properties of the RoutingIntent resource. *RoutingIntentProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (ri RoutingIntent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoutingIntent.
func (ri *RoutingIntent) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoutingIntent struct.
RoutingIntentClient is the network Client
type RoutingIntentClient struct { BaseClient }
func NewRoutingIntentClient(subscriptionID string) RoutingIntentClient
NewRoutingIntentClient creates an instance of the RoutingIntentClient client.
func NewRoutingIntentClientWithBaseURI(baseURI string, subscriptionID string) RoutingIntentClient
NewRoutingIntentClientWithBaseURI creates an instance of the RoutingIntentClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RoutingIntentClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string, routingIntentParameters RoutingIntent) (result RoutingIntentCreateOrUpdateFuture, err error)
CreateOrUpdate creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. Parameters: resourceGroupName - the resource group name of the RoutingIntent. virtualHubName - the name of the VirtualHub. routingIntentName - the name of the per VirtualHub singleton Routing Intent resource. routingIntentParameters - parameters supplied to create or update RoutingIntent.
func (client RoutingIntentClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string, routingIntentParameters RoutingIntent) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client RoutingIntentClient) CreateOrUpdateResponder(resp *http.Response) (result RoutingIntent, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client RoutingIntentClient) CreateOrUpdateSender(req *http.Request) (future RoutingIntentCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client RoutingIntentClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string) (result RoutingIntentDeleteFuture, err error)
Delete deletes a RoutingIntent. Parameters: resourceGroupName - the resource group name of the RoutingIntent. virtualHubName - the name of the VirtualHub. routingIntentName - the name of the RoutingIntent.
func (client RoutingIntentClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client RoutingIntentClient) 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 RoutingIntentClient) DeleteSender(req *http.Request) (future RoutingIntentDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client RoutingIntentClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string) (result RoutingIntent, err error)
Get retrieves the details of a RoutingIntent. Parameters: resourceGroupName - the resource group name of the RoutingIntent. virtualHubName - the name of the VirtualHub. routingIntentName - the name of the RoutingIntent.
func (client RoutingIntentClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routingIntentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client RoutingIntentClient) GetResponder(resp *http.Response) (result RoutingIntent, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client RoutingIntentClient) 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 RoutingIntentClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListRoutingIntentResultPage, err error)
List retrieves the details of all RoutingIntent child resources of the VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client RoutingIntentClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListRoutingIntentResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client RoutingIntentClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client RoutingIntentClient) ListResponder(resp *http.Response) (result ListRoutingIntentResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client RoutingIntentClient) 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.
RoutingIntentCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RoutingIntentCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoutingIntentClient) (RoutingIntent, error) }
func (future *RoutingIntentCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RoutingIntentDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type RoutingIntentDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoutingIntentClient) (autorest.Response, error) }
func (future *RoutingIntentDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
RoutingIntentProperties the properties of a RoutingIntent resource.
type RoutingIntentProperties struct { // RoutingPolicies - List of routing policies. RoutingPolicies *[]RoutingPolicy `json:"routingPolicies,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the RoutingIntent resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (rip RoutingIntentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoutingIntentProperties.
RoutingPolicy the routing policy object used in a RoutingIntent resource.
type RoutingPolicy struct { // Name - The unique name for the routing policy. Name *string `json:"name,omitempty"` // Destinations - List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic). Destinations *[]string `json:"destinations,omitempty"` // NextHop - The next hop resource id on which this routing policy is applicable to. NextHop *string `json:"nextHop,omitempty"` }
RoutingState enumerates the values for routing state.
type RoutingState string
const ( // RoutingStateFailed ... RoutingStateFailed RoutingState = "Failed" // RoutingStateNone ... RoutingStateNone RoutingState = "None" // RoutingStateProvisioned ... RoutingStateProvisioned RoutingState = "Provisioned" // RoutingStateProvisioning ... RoutingStateProvisioning RoutingState = "Provisioning" )
func PossibleRoutingStateValues() []RoutingState
PossibleRoutingStateValues returns an array of possible values for the RoutingState const type.
Rule rule of type network.
type Rule struct { // IPProtocols - Array of FirewallPolicyRuleNetworkProtocols. IPProtocols *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` // SourceAddresses - List of source IP addresses for this rule. SourceAddresses *[]string `json:"sourceAddresses,omitempty"` // DestinationAddresses - List of destination IP addresses or Service Tags. DestinationAddresses *[]string `json:"destinationAddresses,omitempty"` // DestinationPorts - List of destination ports. DestinationPorts *[]string `json:"destinationPorts,omitempty"` // SourceIPGroups - List of source IpGroups for this rule. SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"` // DestinationIPGroups - List of destination IpGroups for this rule. DestinationIPGroups *[]string `json:"destinationIpGroups,omitempty"` // DestinationFqdns - List of destination FQDNs. DestinationFqdns *[]string `json:"destinationFqdns,omitempty"` // Name - Name of the rule. Name *string `json:"name,omitempty"` // Description - Description of the rule. Description *string `json:"description,omitempty"` // RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeApplicationRule', 'RuleTypeNatRule', 'RuleTypeNetworkRule' RuleType RuleType `json:"ruleType,omitempty"` }
func (r Rule) AsApplicationRule() (*ApplicationRule, bool)
AsApplicationRule is the BasicFirewallPolicyRule implementation for Rule.
func (r Rule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)
AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for Rule.
func (r Rule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for Rule.
func (r Rule) AsNatRule() (*NatRule, bool)
AsNatRule is the BasicFirewallPolicyRule implementation for Rule.
func (r Rule) AsRule() (*Rule, bool)
AsRule is the BasicFirewallPolicyRule implementation for Rule.
func (r Rule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Rule.
RuleCollectionType enumerates the values for rule collection type.
type RuleCollectionType string
const ( // RuleCollectionTypeFirewallPolicyFilterRuleCollection ... RuleCollectionTypeFirewallPolicyFilterRuleCollection RuleCollectionType = "FirewallPolicyFilterRuleCollection" // RuleCollectionTypeFirewallPolicyNatRuleCollection ... RuleCollectionTypeFirewallPolicyNatRuleCollection RuleCollectionType = "FirewallPolicyNatRuleCollection" // RuleCollectionTypeFirewallPolicyRuleCollection ... RuleCollectionTypeFirewallPolicyRuleCollection RuleCollectionType = "FirewallPolicyRuleCollection" )
func PossibleRuleCollectionTypeValues() []RuleCollectionType
PossibleRuleCollectionTypeValues returns an array of possible values for the RuleCollectionType const type.
RuleType enumerates the values for rule type.
type RuleType string
const ( // RuleTypeApplicationRule ... RuleTypeApplicationRule RuleType = "ApplicationRule" // RuleTypeFirewallPolicyRule ... RuleTypeFirewallPolicyRule RuleType = "FirewallPolicyRule" // RuleTypeNatRule ... RuleTypeNatRule RuleType = "NatRule" // RuleTypeNetworkRule ... RuleTypeNetworkRule RuleType = "NetworkRule" )
func PossibleRuleTypeValues() []RuleType
PossibleRuleTypeValues returns an array of possible values for the RuleType const type.
SecurityGroup networkSecurityGroup resource.
type SecurityGroup struct { autorest.Response `json:"-"` // SecurityGroupPropertiesFormat - Properties of the network security group. *SecurityGroupPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (sg SecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityGroup.
func (sg *SecurityGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityGroup struct.
SecurityGroupListResult response for ListNetworkSecurityGroups API service call.
type SecurityGroupListResult struct { autorest.Response `json:"-"` // Value - A list of NetworkSecurityGroup resources. Value *[]SecurityGroup `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (sglr SecurityGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
SecurityGroupListResultIterator provides access to a complete listing of SecurityGroup values.
type SecurityGroupListResultIterator struct {
// contains filtered or unexported fields
}
func NewSecurityGroupListResultIterator(page SecurityGroupListResultPage) SecurityGroupListResultIterator
Creates a new instance of the SecurityGroupListResultIterator type.
func (iter *SecurityGroupListResultIterator) 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 *SecurityGroupListResultIterator) 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 SecurityGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SecurityGroupListResultIterator) Response() SecurityGroupListResult
Response returns the raw server response from the last page request.
func (iter SecurityGroupListResultIterator) Value() SecurityGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SecurityGroupListResultPage contains a page of SecurityGroup values.
type SecurityGroupListResultPage struct {
// contains filtered or unexported fields
}
func NewSecurityGroupListResultPage(cur SecurityGroupListResult, getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage
Creates a new instance of the SecurityGroupListResultPage type.
func (page *SecurityGroupListResultPage) 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 *SecurityGroupListResultPage) 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 SecurityGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SecurityGroupListResultPage) Response() SecurityGroupListResult
Response returns the raw server response from the last page request.
func (page SecurityGroupListResultPage) Values() []SecurityGroup
Values returns the slice of values for the current page or nil if there are no values.
SecurityGroupNetworkInterface network interface and all its associated security rules.
type SecurityGroupNetworkInterface struct { // ID - ID of the network interface. ID *string `json:"id,omitempty"` // SecurityRuleAssociations - All security rules associated with the network interface. SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"` }
SecurityGroupPropertiesFormat network Security Group resource.
type SecurityGroupPropertiesFormat struct { // SecurityRules - A collection of security rules of the network security group. SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` // DefaultSecurityRules - READ-ONLY; The default security rules of network security group. DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` // NetworkInterfaces - READ-ONLY; A collection of references to network interfaces. NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"` // Subnets - READ-ONLY; A collection of references to subnets. Subnets *[]Subnet `json:"subnets,omitempty"` // FlowLogs - READ-ONLY; A collection of references to flow log resources. FlowLogs *[]FlowLog `json:"flowLogs,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the network security group resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the network security group resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (sgpf SecurityGroupPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityGroupPropertiesFormat.
SecurityGroupResult network configuration diagnostic result corresponded provided traffic query.
type SecurityGroupResult struct { // SecurityRuleAccessResult - The network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny' SecurityRuleAccessResult SecurityRuleAccess `json:"securityRuleAccessResult,omitempty"` // EvaluatedNetworkSecurityGroups - READ-ONLY; List of results network security groups diagnostic. EvaluatedNetworkSecurityGroups *[]EvaluatedNetworkSecurityGroup `json:"evaluatedNetworkSecurityGroups,omitempty"` }
func (sgr SecurityGroupResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityGroupResult.
SecurityGroupViewParameters parameters that define the VM to check security groups for.
type SecurityGroupViewParameters struct { // TargetResourceID - ID of the target VM. TargetResourceID *string `json:"targetResourceId,omitempty"` }
SecurityGroupViewResult the information about security rules applied to the specified VM.
type SecurityGroupViewResult struct { autorest.Response `json:"-"` // NetworkInterfaces - List of network interfaces on the specified VM. NetworkInterfaces *[]SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"` }
SecurityGroupsClient is the network Client
type SecurityGroupsClient struct { BaseClient }
func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient
NewSecurityGroupsClient creates an instance of the SecurityGroupsClient client.
func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient
NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client SecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (result SecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a network security group in the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. parameters - parameters supplied to the create or update network security group operation.
func (client SecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client SecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (future SecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client SecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityGroupsDeleteFuture, err error)
Delete deletes the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.
func (client SecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client SecurityGroupsClient) 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 SecurityGroupsClient) DeleteSender(req *http.Request) (future SecurityGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client SecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error)
Get gets the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. expand - expands referenced resources.
func (client SecurityGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result SecurityGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client SecurityGroupsClient) 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 SecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultPage, err error)
List gets all network security groups in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client SecurityGroupsClient) ListAll(ctx context.Context) (result SecurityGroupListResultPage, err error)
ListAll gets all network security groups in a subscription.
func (client SecurityGroupsClient) ListAllComplete(ctx context.Context) (result SecurityGroupListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client SecurityGroupsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client SecurityGroupsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client SecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client SecurityGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client SecurityGroupsClient) ListResponder(resp *http.Response) (result SecurityGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client SecurityGroupsClient) 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.
func (client SecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject) (result SecurityGroup, err error)
UpdateTags updates a network security group tags. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. parameters - parameters supplied to update network security group tags.
func (client SecurityGroupsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client SecurityGroupsClient) UpdateTagsResponder(resp *http.Response) (result SecurityGroup, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client SecurityGroupsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
SecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityGroupsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityGroupsClient) (SecurityGroup, error) }
func (future *SecurityGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityGroupsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityGroupsClient) (autorest.Response, error) }
func (future *SecurityGroupsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityPartnerProvider security Partner Provider resource.
type SecurityPartnerProvider struct { autorest.Response `json:"-"` // SecurityPartnerProviderPropertiesFormat - Properties of the Security Partner Provider. *SecurityPartnerProviderPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (spp SecurityPartnerProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityPartnerProvider.
func (spp *SecurityPartnerProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityPartnerProvider struct.
SecurityPartnerProviderConnectionStatus enumerates the values for security partner provider connection status.
type SecurityPartnerProviderConnectionStatus string
const ( // SecurityPartnerProviderConnectionStatusConnected ... SecurityPartnerProviderConnectionStatusConnected SecurityPartnerProviderConnectionStatus = "Connected" // SecurityPartnerProviderConnectionStatusNotConnected ... SecurityPartnerProviderConnectionStatusNotConnected SecurityPartnerProviderConnectionStatus = "NotConnected" // SecurityPartnerProviderConnectionStatusPartiallyConnected ... SecurityPartnerProviderConnectionStatusPartiallyConnected SecurityPartnerProviderConnectionStatus = "PartiallyConnected" // SecurityPartnerProviderConnectionStatusUnknown ... SecurityPartnerProviderConnectionStatusUnknown SecurityPartnerProviderConnectionStatus = "Unknown" )
func PossibleSecurityPartnerProviderConnectionStatusValues() []SecurityPartnerProviderConnectionStatus
PossibleSecurityPartnerProviderConnectionStatusValues returns an array of possible values for the SecurityPartnerProviderConnectionStatus const type.
SecurityPartnerProviderListResult response for ListSecurityPartnerProviders API service call.
type SecurityPartnerProviderListResult struct { autorest.Response `json:"-"` // Value - List of Security Partner Providers in a resource group. Value *[]SecurityPartnerProvider `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (spplr SecurityPartnerProviderListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
SecurityPartnerProviderListResultIterator provides access to a complete listing of SecurityPartnerProvider values.
type SecurityPartnerProviderListResultIterator struct {
// contains filtered or unexported fields
}
func NewSecurityPartnerProviderListResultIterator(page SecurityPartnerProviderListResultPage) SecurityPartnerProviderListResultIterator
Creates a new instance of the SecurityPartnerProviderListResultIterator type.
func (iter *SecurityPartnerProviderListResultIterator) 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 *SecurityPartnerProviderListResultIterator) 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 SecurityPartnerProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SecurityPartnerProviderListResultIterator) Response() SecurityPartnerProviderListResult
Response returns the raw server response from the last page request.
func (iter SecurityPartnerProviderListResultIterator) Value() SecurityPartnerProvider
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SecurityPartnerProviderListResultPage contains a page of SecurityPartnerProvider values.
type SecurityPartnerProviderListResultPage struct {
// contains filtered or unexported fields
}
func NewSecurityPartnerProviderListResultPage(cur SecurityPartnerProviderListResult, getNextPage func(context.Context, SecurityPartnerProviderListResult) (SecurityPartnerProviderListResult, error)) SecurityPartnerProviderListResultPage
Creates a new instance of the SecurityPartnerProviderListResultPage type.
func (page *SecurityPartnerProviderListResultPage) 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 *SecurityPartnerProviderListResultPage) 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 SecurityPartnerProviderListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SecurityPartnerProviderListResultPage) Response() SecurityPartnerProviderListResult
Response returns the raw server response from the last page request.
func (page SecurityPartnerProviderListResultPage) Values() []SecurityPartnerProvider
Values returns the slice of values for the current page or nil if there are no values.
SecurityPartnerProviderPropertiesFormat properties of the Security Partner Provider.
type SecurityPartnerProviderPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the Security Partner Provider resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // SecurityProviderName - The security provider name. Possible values include: 'SecurityProviderNameZScaler', 'SecurityProviderNameIBoss', 'SecurityProviderNameCheckpoint' SecurityProviderName SecurityProviderName `json:"securityProviderName,omitempty"` // ConnectionStatus - READ-ONLY; The connection status with the Security Partner Provider. Possible values include: 'SecurityPartnerProviderConnectionStatusUnknown', 'SecurityPartnerProviderConnectionStatusPartiallyConnected', 'SecurityPartnerProviderConnectionStatusConnected', 'SecurityPartnerProviderConnectionStatusNotConnected' ConnectionStatus SecurityPartnerProviderConnectionStatus `json:"connectionStatus,omitempty"` // VirtualHub - The virtualHub to which the Security Partner Provider belongs. VirtualHub *SubResource `json:"virtualHub,omitempty"` }
func (spppf SecurityPartnerProviderPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityPartnerProviderPropertiesFormat.
SecurityPartnerProvidersClient is the network Client
type SecurityPartnerProvidersClient struct { BaseClient }
func NewSecurityPartnerProvidersClient(subscriptionID string) SecurityPartnerProvidersClient
NewSecurityPartnerProvidersClient creates an instance of the SecurityPartnerProvidersClient client.
func NewSecurityPartnerProvidersClientWithBaseURI(baseURI string, subscriptionID string) SecurityPartnerProvidersClient
NewSecurityPartnerProvidersClientWithBaseURI creates an instance of the SecurityPartnerProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client SecurityPartnerProvidersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, parameters SecurityPartnerProvider) (result SecurityPartnerProvidersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Security Partner Provider. Parameters: resourceGroupName - the name of the resource group. securityPartnerProviderName - the name of the Security Partner Provider. parameters - parameters supplied to the create or update Security Partner Provider operation.
func (client SecurityPartnerProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, parameters SecurityPartnerProvider) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client SecurityPartnerProvidersClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityPartnerProvider, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client SecurityPartnerProvidersClient) CreateOrUpdateSender(req *http.Request) (future SecurityPartnerProvidersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client SecurityPartnerProvidersClient) Delete(ctx context.Context, resourceGroupName string, securityPartnerProviderName string) (result SecurityPartnerProvidersDeleteFuture, err error)
Delete deletes the specified Security Partner Provider. Parameters: resourceGroupName - the name of the resource group. securityPartnerProviderName - the name of the Security Partner Provider.
func (client SecurityPartnerProvidersClient) DeletePreparer(ctx context.Context, resourceGroupName string, securityPartnerProviderName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client SecurityPartnerProvidersClient) 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 SecurityPartnerProvidersClient) DeleteSender(req *http.Request) (future SecurityPartnerProvidersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client SecurityPartnerProvidersClient) Get(ctx context.Context, resourceGroupName string, securityPartnerProviderName string) (result SecurityPartnerProvider, err error)
Get gets the specified Security Partner Provider. Parameters: resourceGroupName - the name of the resource group. securityPartnerProviderName - the name of the Security Partner Provider.
func (client SecurityPartnerProvidersClient) GetPreparer(ctx context.Context, resourceGroupName string, securityPartnerProviderName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client SecurityPartnerProvidersClient) GetResponder(resp *http.Response) (result SecurityPartnerProvider, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client SecurityPartnerProvidersClient) 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 SecurityPartnerProvidersClient) List(ctx context.Context) (result SecurityPartnerProviderListResultPage, err error)
List gets all the Security Partner Providers in a subscription.
func (client SecurityPartnerProvidersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SecurityPartnerProviderListResultPage, err error)
ListByResourceGroup lists all Security Partner Providers in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client SecurityPartnerProvidersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SecurityPartnerProviderListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client SecurityPartnerProvidersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client SecurityPartnerProvidersClient) ListByResourceGroupResponder(resp *http.Response) (result SecurityPartnerProviderListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client SecurityPartnerProvidersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client SecurityPartnerProvidersClient) ListComplete(ctx context.Context) (result SecurityPartnerProviderListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client SecurityPartnerProvidersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client SecurityPartnerProvidersClient) ListResponder(resp *http.Response) (result SecurityPartnerProviderListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client SecurityPartnerProvidersClient) 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.
func (client SecurityPartnerProvidersClient) UpdateTags(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, parameters TagsObject) (result SecurityPartnerProvider, err error)
UpdateTags updates tags of a Security Partner Provider resource. Parameters: resourceGroupName - the name of the resource group. securityPartnerProviderName - the name of the Security Partner Provider. parameters - parameters supplied to update Security Partner Provider tags.
func (client SecurityPartnerProvidersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client SecurityPartnerProvidersClient) UpdateTagsResponder(resp *http.Response) (result SecurityPartnerProvider, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client SecurityPartnerProvidersClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
SecurityPartnerProvidersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityPartnerProvidersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityPartnerProvidersClient) (SecurityPartnerProvider, error) }
func (future *SecurityPartnerProvidersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityPartnerProvidersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityPartnerProvidersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityPartnerProvidersClient) (autorest.Response, error) }
func (future *SecurityPartnerProvidersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityProviderName enumerates the values for security provider name.
type SecurityProviderName string
const ( // SecurityProviderNameCheckpoint ... SecurityProviderNameCheckpoint SecurityProviderName = "Checkpoint" // SecurityProviderNameIBoss ... SecurityProviderNameIBoss SecurityProviderName = "IBoss" // SecurityProviderNameZScaler ... SecurityProviderNameZScaler SecurityProviderName = "ZScaler" )
func PossibleSecurityProviderNameValues() []SecurityProviderName
PossibleSecurityProviderNameValues returns an array of possible values for the SecurityProviderName const type.
SecurityRule network security rule.
type SecurityRule struct { autorest.Response `json:"-"` // SecurityRulePropertiesFormat - Properties of the security rule. *SecurityRulePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (sr SecurityRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityRule.
func (sr *SecurityRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityRule struct.
SecurityRuleAccess enumerates the values for security rule access.
type SecurityRuleAccess string
const ( // SecurityRuleAccessAllow ... SecurityRuleAccessAllow SecurityRuleAccess = "Allow" // SecurityRuleAccessDeny ... SecurityRuleAccessDeny SecurityRuleAccess = "Deny" )
func PossibleSecurityRuleAccessValues() []SecurityRuleAccess
PossibleSecurityRuleAccessValues returns an array of possible values for the SecurityRuleAccess const type.
SecurityRuleAssociations all security rules associated with the network interface.
type SecurityRuleAssociations struct { // NetworkInterfaceAssociation - Network interface and it's custom security rules. NetworkInterfaceAssociation *InterfaceAssociation `json:"networkInterfaceAssociation,omitempty"` // SubnetAssociation - Subnet and it's custom security rules. SubnetAssociation *SubnetAssociation `json:"subnetAssociation,omitempty"` // DefaultSecurityRules - Collection of default security rules of the network security group. DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` // EffectiveSecurityRules - Collection of effective security rules. EffectiveSecurityRules *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"` }
SecurityRuleDirection enumerates the values for security rule direction.
type SecurityRuleDirection string
const ( // SecurityRuleDirectionInbound ... SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound" // SecurityRuleDirectionOutbound ... SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound" )
func PossibleSecurityRuleDirectionValues() []SecurityRuleDirection
PossibleSecurityRuleDirectionValues returns an array of possible values for the SecurityRuleDirection const type.
SecurityRuleListResult response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group.
type SecurityRuleListResult struct { autorest.Response `json:"-"` // Value - The security rules in a network security group. Value *[]SecurityRule `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (srlr SecurityRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
SecurityRuleListResultIterator provides access to a complete listing of SecurityRule values.
type SecurityRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewSecurityRuleListResultIterator(page SecurityRuleListResultPage) SecurityRuleListResultIterator
Creates a new instance of the SecurityRuleListResultIterator type.
func (iter *SecurityRuleListResultIterator) 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 *SecurityRuleListResultIterator) 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 SecurityRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SecurityRuleListResultIterator) Response() SecurityRuleListResult
Response returns the raw server response from the last page request.
func (iter SecurityRuleListResultIterator) Value() SecurityRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SecurityRuleListResultPage contains a page of SecurityRule values.
type SecurityRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewSecurityRuleListResultPage(cur SecurityRuleListResult, getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage
Creates a new instance of the SecurityRuleListResultPage type.
func (page *SecurityRuleListResultPage) 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 *SecurityRuleListResultPage) 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 SecurityRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SecurityRuleListResultPage) Response() SecurityRuleListResult
Response returns the raw server response from the last page request.
func (page SecurityRuleListResultPage) Values() []SecurityRule
Values returns the slice of values for the current page or nil if there are no values.
SecurityRulePropertiesFormat security rule resource.
type SecurityRulePropertiesFormat struct { // Description - A description for this rule. Restricted to 140 chars. Description *string `json:"description,omitempty"` // Protocol - Network protocol this rule applies to. Possible values include: 'SecurityRuleProtocolTCP', 'SecurityRuleProtocolUDP', 'SecurityRuleProtocolIcmp', 'SecurityRuleProtocolEsp', 'SecurityRuleProtocolAsterisk', 'SecurityRuleProtocolAh' Protocol SecurityRuleProtocol `json:"protocol,omitempty"` // SourcePortRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. SourcePortRange *string `json:"sourcePortRange,omitempty"` // DestinationPortRange - The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. DestinationPortRange *string `json:"destinationPortRange,omitempty"` // SourceAddressPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` // SourceAddressPrefixes - The CIDR or source IP ranges. SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` // SourceApplicationSecurityGroups - The application security group specified as source. SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` // DestinationAddressPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` // DestinationAddressPrefixes - The destination address prefixes. CIDR or destination IP ranges. DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` // DestinationApplicationSecurityGroups - The application security group specified as destination. DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` // SourcePortRanges - The source port ranges. SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` // DestinationPortRanges - The destination port ranges. DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` // Access - The network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny' Access SecurityRuleAccess `json:"access,omitempty"` // Priority - The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. Priority *int32 `json:"priority,omitempty"` // Direction - The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound' Direction SecurityRuleDirection `json:"direction,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the security rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (srpf SecurityRulePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityRulePropertiesFormat.
SecurityRuleProtocol enumerates the values for security rule protocol.
type SecurityRuleProtocol string
const ( // SecurityRuleProtocolAh ... SecurityRuleProtocolAh SecurityRuleProtocol = "Ah" // SecurityRuleProtocolAsterisk ... SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*" // SecurityRuleProtocolEsp ... SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp" // SecurityRuleProtocolIcmp ... SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp" // SecurityRuleProtocolTCP ... SecurityRuleProtocolTCP SecurityRuleProtocol = "Tcp" // SecurityRuleProtocolUDP ... SecurityRuleProtocolUDP SecurityRuleProtocol = "Udp" )
func PossibleSecurityRuleProtocolValues() []SecurityRuleProtocol
PossibleSecurityRuleProtocolValues returns an array of possible values for the SecurityRuleProtocol const type.
SecurityRulesClient is the network Client
type SecurityRulesClient struct { BaseClient }
func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient
NewSecurityRulesClient creates an instance of the SecurityRulesClient client.
func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient
NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client SecurityRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (result SecurityRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a security rule in the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule. securityRuleParameters - parameters supplied to the create or update network security rule operation.
func (client SecurityRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client SecurityRulesClient) CreateOrUpdateSender(req *http.Request) (future SecurityRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client SecurityRulesClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRulesDeleteFuture, err error)
Delete deletes the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.
func (client SecurityRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client SecurityRulesClient) 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 SecurityRulesClient) DeleteSender(req *http.Request) (future SecurityRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client SecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error)
Get get the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.
func (client SecurityRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client SecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client SecurityRulesClient) 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 SecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)
List gets all security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.
func (client SecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client SecurityRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client SecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client SecurityRulesClient) 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.
SecurityRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityRulesClient) (SecurityRule, error) }
func (future *SecurityRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SecurityRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SecurityRulesClient) (autorest.Response, error) }
func (future *SecurityRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SecurityRulesEvaluationResult network security rules evaluation result.
type SecurityRulesEvaluationResult struct { // Name - Name of the network security rule. Name *string `json:"name,omitempty"` // ProtocolMatched - Value indicating whether protocol is matched. ProtocolMatched *bool `json:"protocolMatched,omitempty"` // SourceMatched - Value indicating whether source is matched. SourceMatched *bool `json:"sourceMatched,omitempty"` // SourcePortMatched - Value indicating whether source port is matched. SourcePortMatched *bool `json:"sourcePortMatched,omitempty"` // DestinationMatched - Value indicating whether destination is matched. DestinationMatched *bool `json:"destinationMatched,omitempty"` // DestinationPortMatched - Value indicating whether destination port is matched. DestinationPortMatched *bool `json:"destinationPortMatched,omitempty"` }
ServiceAssociationLink serviceAssociationLink resource.
type ServiceAssociationLink struct { // ServiceAssociationLinkPropertiesFormat - Resource navigation link properties format. *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (sal ServiceAssociationLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceAssociationLink.
func (sal *ServiceAssociationLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceAssociationLink struct.
ServiceAssociationLinkPropertiesFormat properties of ServiceAssociationLink.
type ServiceAssociationLinkPropertiesFormat struct { // LinkedResourceType - Resource type of the linked resource. LinkedResourceType *string `json:"linkedResourceType,omitempty"` // Link - Link to the external resource. Link *string `json:"link,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the service association link resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // AllowDelete - If true, the resource can be deleted. AllowDelete *bool `json:"allowDelete,omitempty"` // Locations - A list of locations. Locations *[]string `json:"locations,omitempty"` }
func (salpf ServiceAssociationLinkPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceAssociationLinkPropertiesFormat.
ServiceAssociationLinksClient is the network Client
type ServiceAssociationLinksClient struct { BaseClient }
func NewServiceAssociationLinksClient(subscriptionID string) ServiceAssociationLinksClient
NewServiceAssociationLinksClient creates an instance of the ServiceAssociationLinksClient client.
func NewServiceAssociationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServiceAssociationLinksClient
NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ServiceAssociationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result ServiceAssociationLinksListResult, err error)
List gets a list of service association links for a subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.
func (client ServiceAssociationLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ServiceAssociationLinksClient) ListResponder(resp *http.Response) (result ServiceAssociationLinksListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ServiceAssociationLinksClient) 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.
ServiceAssociationLinksListResult response for ServiceAssociationLinks_List operation.
type ServiceAssociationLinksListResult struct { autorest.Response `json:"-"` // Value - The service association links in a subnet. Value *[]ServiceAssociationLink `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (sallr ServiceAssociationLinksListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceAssociationLinksListResult.
ServiceDelegationPropertiesFormat properties of a service delegation.
type ServiceDelegationPropertiesFormat struct { // ServiceName - The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). ServiceName *string `json:"serviceName,omitempty"` // Actions - READ-ONLY; The actions permitted to the service upon delegation. Actions *[]string `json:"actions,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the service delegation resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (sdpf ServiceDelegationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceDelegationPropertiesFormat.
ServiceEndpointPoliciesClient is the network Client
type ServiceEndpointPoliciesClient struct { BaseClient }
func NewServiceEndpointPoliciesClient(subscriptionID string) ServiceEndpointPoliciesClient
NewServiceEndpointPoliciesClient creates an instance of the ServiceEndpointPoliciesClient client.
func NewServiceEndpointPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPoliciesClient
NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ServiceEndpointPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters ServiceEndpointPolicy) (result ServiceEndpointPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a service Endpoint Policies. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. parameters - parameters supplied to the create or update service endpoint policy operation.
func (client ServiceEndpointPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters ServiceEndpointPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ServiceEndpointPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ServiceEndpointPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServiceEndpointPoliciesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ServiceEndpointPoliciesClient) Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPoliciesDeleteFuture, err error)
Delete deletes the specified service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy.
func (client ServiceEndpointPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ServiceEndpointPoliciesClient) 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 ServiceEndpointPoliciesClient) DeleteSender(req *http.Request) (future ServiceEndpointPoliciesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ServiceEndpointPoliciesClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, expand string) (result ServiceEndpointPolicy, err error)
Get gets the specified service Endpoint Policies in a specified resource group. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. expand - expands referenced resources.
func (client ServiceEndpointPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ServiceEndpointPoliciesClient) GetResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ServiceEndpointPoliciesClient) 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 ServiceEndpointPoliciesClient) List(ctx context.Context) (result ServiceEndpointPolicyListResultPage, err error)
List gets all the service endpoint policies in a subscription.
func (client ServiceEndpointPoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServiceEndpointPolicyListResultPage, err error)
ListByResourceGroup gets all service endpoint Policies in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client ServiceEndpointPoliciesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServiceEndpointPolicyListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client ServiceEndpointPoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ServiceEndpointPoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceEndpointPolicyListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ServiceEndpointPoliciesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client ServiceEndpointPoliciesClient) ListComplete(ctx context.Context) (result ServiceEndpointPolicyListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ServiceEndpointPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ServiceEndpointPoliciesClient) ListResponder(resp *http.Response) (result ServiceEndpointPolicyListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ServiceEndpointPoliciesClient) 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.
func (client ServiceEndpointPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters TagsObject) (result ServiceEndpointPolicy, err error)
UpdateTags updates tags of a service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. parameters - parameters supplied to update service endpoint policy tags.
func (client ServiceEndpointPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client ServiceEndpointPoliciesClient) UpdateTagsResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client ServiceEndpointPoliciesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
ServiceEndpointPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServiceEndpointPoliciesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServiceEndpointPoliciesClient) (ServiceEndpointPolicy, error) }
func (future *ServiceEndpointPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServiceEndpointPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServiceEndpointPoliciesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServiceEndpointPoliciesClient) (autorest.Response, error) }
func (future *ServiceEndpointPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServiceEndpointPolicy service End point policy resource.
type ServiceEndpointPolicy struct { autorest.Response `json:"-"` // ServiceEndpointPolicyPropertiesFormat - Properties of the service end point policy. *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Kind - READ-ONLY; Kind of service endpoint policy. This is metadata used for the Azure portal experience. Kind *string `json:"kind,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (sep ServiceEndpointPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPolicy.
func (sep *ServiceEndpointPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceEndpointPolicy struct.
ServiceEndpointPolicyDefinition service Endpoint policy definitions.
type ServiceEndpointPolicyDefinition struct { autorest.Response `json:"-"` // ServiceEndpointPolicyDefinitionPropertiesFormat - Properties of the service endpoint policy definition. *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (sepd ServiceEndpointPolicyDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPolicyDefinition.
func (sepd *ServiceEndpointPolicyDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceEndpointPolicyDefinition struct.
ServiceEndpointPolicyDefinitionListResult response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy.
type ServiceEndpointPolicyDefinitionListResult struct { autorest.Response `json:"-"` // Value - The service endpoint policy definition in a service endpoint policy. Value *[]ServiceEndpointPolicyDefinition `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (sepdlr ServiceEndpointPolicyDefinitionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ServiceEndpointPolicyDefinitionListResultIterator provides access to a complete listing of ServiceEndpointPolicyDefinition values.
type ServiceEndpointPolicyDefinitionListResultIterator struct {
// contains filtered or unexported fields
}
func NewServiceEndpointPolicyDefinitionListResultIterator(page ServiceEndpointPolicyDefinitionListResultPage) ServiceEndpointPolicyDefinitionListResultIterator
Creates a new instance of the ServiceEndpointPolicyDefinitionListResultIterator type.
func (iter *ServiceEndpointPolicyDefinitionListResultIterator) 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 *ServiceEndpointPolicyDefinitionListResultIterator) 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 ServiceEndpointPolicyDefinitionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ServiceEndpointPolicyDefinitionListResultIterator) Response() ServiceEndpointPolicyDefinitionListResult
Response returns the raw server response from the last page request.
func (iter ServiceEndpointPolicyDefinitionListResultIterator) Value() ServiceEndpointPolicyDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ServiceEndpointPolicyDefinitionListResultPage contains a page of ServiceEndpointPolicyDefinition values.
type ServiceEndpointPolicyDefinitionListResultPage struct {
// contains filtered or unexported fields
}
func NewServiceEndpointPolicyDefinitionListResultPage(cur ServiceEndpointPolicyDefinitionListResult, getNextPage func(context.Context, ServiceEndpointPolicyDefinitionListResult) (ServiceEndpointPolicyDefinitionListResult, error)) ServiceEndpointPolicyDefinitionListResultPage
Creates a new instance of the ServiceEndpointPolicyDefinitionListResultPage type.
func (page *ServiceEndpointPolicyDefinitionListResultPage) 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 *ServiceEndpointPolicyDefinitionListResultPage) 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 ServiceEndpointPolicyDefinitionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ServiceEndpointPolicyDefinitionListResultPage) Response() ServiceEndpointPolicyDefinitionListResult
Response returns the raw server response from the last page request.
func (page ServiceEndpointPolicyDefinitionListResultPage) Values() []ServiceEndpointPolicyDefinition
Values returns the slice of values for the current page or nil if there are no values.
ServiceEndpointPolicyDefinitionPropertiesFormat service Endpoint policy definition resource.
type ServiceEndpointPolicyDefinitionPropertiesFormat struct { // Description - A description for this rule. Restricted to 140 chars. Description *string `json:"description,omitempty"` // Service - Service endpoint name. Service *string `json:"service,omitempty"` // ServiceResources - A list of service resources. ServiceResources *[]string `json:"serviceResources,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the service endpoint policy definition resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (sepdpf ServiceEndpointPolicyDefinitionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPolicyDefinitionPropertiesFormat.
ServiceEndpointPolicyDefinitionsClient is the network Client
type ServiceEndpointPolicyDefinitionsClient struct { BaseClient }
func NewServiceEndpointPolicyDefinitionsClient(subscriptionID string) ServiceEndpointPolicyDefinitionsClient
NewServiceEndpointPolicyDefinitionsClient creates an instance of the ServiceEndpointPolicyDefinitionsClient client.
func NewServiceEndpointPolicyDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPolicyDefinitionsClient
NewServiceEndpointPolicyDefinitionsClientWithBaseURI creates an instance of the ServiceEndpointPolicyDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, serviceEndpointPolicyDefinitions ServiceEndpointPolicyDefinition) (result ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a service endpoint policy definition in the specified service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition name. serviceEndpointPolicyDefinitions - parameters supplied to the create or update service endpoint policy operation.
func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, serviceEndpointPolicyDefinitions ServiceEndpointPolicyDefinition) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceEndpointPolicyDefinition, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client ServiceEndpointPolicyDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result ServiceEndpointPolicyDefinitionsDeleteFuture, err error)
Delete deletes the specified ServiceEndpoint policy definitions. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the Service Endpoint Policy. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition.
func (client ServiceEndpointPolicyDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ServiceEndpointPolicyDefinitionsClient) 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 ServiceEndpointPolicyDefinitionsClient) DeleteSender(req *http.Request) (future ServiceEndpointPolicyDefinitionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ServiceEndpointPolicyDefinitionsClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result ServiceEndpointPolicyDefinition, err error)
Get get the specified service endpoint policy definitions from service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy name. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition name.
func (client ServiceEndpointPolicyDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ServiceEndpointPolicyDefinitionsClient) GetResponder(resp *http.Response) (result ServiceEndpointPolicyDefinition, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client ServiceEndpointPolicyDefinitionsClient) 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 ServiceEndpointPolicyDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPolicyDefinitionListResultPage, err error)
ListByResourceGroup gets all service endpoint policy definitions in a service end point policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy name.
func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPolicyDefinitionListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceEndpointPolicyDefinitionListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServiceEndpointPolicyDefinitionsClient) (ServiceEndpointPolicyDefinition, error) }
func (future *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServiceEndpointPolicyDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServiceEndpointPolicyDefinitionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServiceEndpointPolicyDefinitionsClient) (autorest.Response, error) }
func (future *ServiceEndpointPolicyDefinitionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServiceEndpointPolicyListResult response for ListServiceEndpointPolicies API service call.
type ServiceEndpointPolicyListResult struct { autorest.Response `json:"-"` // Value - A list of ServiceEndpointPolicy resources. Value *[]ServiceEndpointPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (seplr ServiceEndpointPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (seplr ServiceEndpointPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPolicyListResult.
ServiceEndpointPolicyListResultIterator provides access to a complete listing of ServiceEndpointPolicy values.
type ServiceEndpointPolicyListResultIterator struct {
// contains filtered or unexported fields
}
func NewServiceEndpointPolicyListResultIterator(page ServiceEndpointPolicyListResultPage) ServiceEndpointPolicyListResultIterator
Creates a new instance of the ServiceEndpointPolicyListResultIterator type.
func (iter *ServiceEndpointPolicyListResultIterator) 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 *ServiceEndpointPolicyListResultIterator) 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 ServiceEndpointPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ServiceEndpointPolicyListResultIterator) Response() ServiceEndpointPolicyListResult
Response returns the raw server response from the last page request.
func (iter ServiceEndpointPolicyListResultIterator) Value() ServiceEndpointPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ServiceEndpointPolicyListResultPage contains a page of ServiceEndpointPolicy values.
type ServiceEndpointPolicyListResultPage struct {
// contains filtered or unexported fields
}
func NewServiceEndpointPolicyListResultPage(cur ServiceEndpointPolicyListResult, getNextPage func(context.Context, ServiceEndpointPolicyListResult) (ServiceEndpointPolicyListResult, error)) ServiceEndpointPolicyListResultPage
Creates a new instance of the ServiceEndpointPolicyListResultPage type.
func (page *ServiceEndpointPolicyListResultPage) 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 *ServiceEndpointPolicyListResultPage) 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 ServiceEndpointPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ServiceEndpointPolicyListResultPage) Response() ServiceEndpointPolicyListResult
Response returns the raw server response from the last page request.
func (page ServiceEndpointPolicyListResultPage) Values() []ServiceEndpointPolicy
Values returns the slice of values for the current page or nil if there are no values.
ServiceEndpointPolicyPropertiesFormat service Endpoint Policy resource.
type ServiceEndpointPolicyPropertiesFormat struct { // ServiceEndpointPolicyDefinitions - A collection of service endpoint policy definitions of the service endpoint policy. ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` // Subnets - READ-ONLY; A collection of references to subnets. Subnets *[]Subnet `json:"subnets,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the service endpoint policy resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the service endpoint policy resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ServiceAlias - The alias indicating if the policy belongs to a service ServiceAlias *string `json:"serviceAlias,omitempty"` // ContextualServiceEndpointPolicies - A collection of contextual service endpoint policy. ContextualServiceEndpointPolicies *[]string `json:"contextualServiceEndpointPolicies,omitempty"` }
func (seppf ServiceEndpointPolicyPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPolicyPropertiesFormat.
ServiceEndpointPropertiesFormat the service endpoint properties.
type ServiceEndpointPropertiesFormat struct { // Service - The type of the endpoint service. Service *string `json:"service,omitempty"` // Locations - A list of locations. Locations *[]string `json:"locations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the service endpoint resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (sepf ServiceEndpointPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceEndpointPropertiesFormat.
ServiceProviderProvisioningState enumerates the values for service provider provisioning state.
type ServiceProviderProvisioningState string
const ( // ServiceProviderProvisioningStateDeprovisioning ... ServiceProviderProvisioningStateDeprovisioning ServiceProviderProvisioningState = "Deprovisioning" // ServiceProviderProvisioningStateNotProvisioned ... ServiceProviderProvisioningStateNotProvisioned ServiceProviderProvisioningState = "NotProvisioned" // ServiceProviderProvisioningStateProvisioned ... ServiceProviderProvisioningStateProvisioned ServiceProviderProvisioningState = "Provisioned" // ServiceProviderProvisioningStateProvisioning ... ServiceProviderProvisioningStateProvisioning ServiceProviderProvisioningState = "Provisioning" )
func PossibleServiceProviderProvisioningStateValues() []ServiceProviderProvisioningState
PossibleServiceProviderProvisioningStateValues returns an array of possible values for the ServiceProviderProvisioningState const type.
ServiceTagInformation the service tag information.
type ServiceTagInformation struct { // Properties - READ-ONLY; Properties of the service tag information. Properties *ServiceTagInformationPropertiesFormat `json:"properties,omitempty"` // Name - READ-ONLY; The name of service tag. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of service tag. ID *string `json:"id,omitempty"` // ServiceTagChangeNumber - READ-ONLY; The iteration number of service tag object for region. ServiceTagChangeNumber *string `json:"serviceTagChangeNumber,omitempty"` }
func (sti ServiceTagInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceTagInformation.
ServiceTagInformationClient is the network Client
type ServiceTagInformationClient struct { BaseClient }
func NewServiceTagInformationClient(subscriptionID string) ServiceTagInformationClient
NewServiceTagInformationClient creates an instance of the ServiceTagInformationClient client.
func NewServiceTagInformationClientWithBaseURI(baseURI string, subscriptionID string) ServiceTagInformationClient
NewServiceTagInformationClientWithBaseURI creates an instance of the ServiceTagInformationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ServiceTagInformationClient) List(ctx context.Context, location string, noAddressPrefixes *bool, tagName string) (result ServiceTagInformationListResultPage, err error)
List gets a list of service tag information resources with pagination. Parameters: location - the location that will be used as a reference for cloud (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to). noAddressPrefixes - do not return address prefixes for the tag(s). tagName - return tag information for a particular tag.
func (client ServiceTagInformationClient) ListComplete(ctx context.Context, location string, noAddressPrefixes *bool, tagName string) (result ServiceTagInformationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ServiceTagInformationClient) ListPreparer(ctx context.Context, location string, noAddressPrefixes *bool, tagName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ServiceTagInformationClient) ListResponder(resp *http.Response) (result ServiceTagInformationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ServiceTagInformationClient) 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.
ServiceTagInformationListResult response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources.
type ServiceTagInformationListResult struct { autorest.Response `json:"-"` // Value - The list of service tag information resources. Value *[]ServiceTagInformation `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (stilr ServiceTagInformationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (stilr ServiceTagInformationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceTagInformationListResult.
ServiceTagInformationListResultIterator provides access to a complete listing of ServiceTagInformation values.
type ServiceTagInformationListResultIterator struct {
// contains filtered or unexported fields
}
func NewServiceTagInformationListResultIterator(page ServiceTagInformationListResultPage) ServiceTagInformationListResultIterator
Creates a new instance of the ServiceTagInformationListResultIterator type.
func (iter *ServiceTagInformationListResultIterator) 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 *ServiceTagInformationListResultIterator) 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 ServiceTagInformationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ServiceTagInformationListResultIterator) Response() ServiceTagInformationListResult
Response returns the raw server response from the last page request.
func (iter ServiceTagInformationListResultIterator) Value() ServiceTagInformation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ServiceTagInformationListResultPage contains a page of ServiceTagInformation values.
type ServiceTagInformationListResultPage struct {
// contains filtered or unexported fields
}
func NewServiceTagInformationListResultPage(cur ServiceTagInformationListResult, getNextPage func(context.Context, ServiceTagInformationListResult) (ServiceTagInformationListResult, error)) ServiceTagInformationListResultPage
Creates a new instance of the ServiceTagInformationListResultPage type.
func (page *ServiceTagInformationListResultPage) 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 *ServiceTagInformationListResultPage) 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 ServiceTagInformationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ServiceTagInformationListResultPage) Response() ServiceTagInformationListResult
Response returns the raw server response from the last page request.
func (page ServiceTagInformationListResultPage) Values() []ServiceTagInformation
Values returns the slice of values for the current page or nil if there are no values.
ServiceTagInformationPropertiesFormat properties of the service tag information.
type ServiceTagInformationPropertiesFormat struct { // ChangeNumber - READ-ONLY; The iteration number of service tag. ChangeNumber *string `json:"changeNumber,omitempty"` // Region - READ-ONLY; The region of service tag. Region *string `json:"region,omitempty"` // SystemService - READ-ONLY; The name of system service. SystemService *string `json:"systemService,omitempty"` // AddressPrefixes - READ-ONLY; The list of IP address prefixes. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` // State - READ-ONLY; The state of the service tag. State *string `json:"state,omitempty"` }
func (stipf ServiceTagInformationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceTagInformationPropertiesFormat.
ServiceTagsClient is the network Client
type ServiceTagsClient struct { BaseClient }
func NewServiceTagsClient(subscriptionID string) ServiceTagsClient
NewServiceTagsClient creates an instance of the ServiceTagsClient client.
func NewServiceTagsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTagsClient
NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ServiceTagsClient) List(ctx context.Context, location string) (result ServiceTagsListResult, err error)
List gets a list of service tag information resources. Parameters: location - the location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).
func (client ServiceTagsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client ServiceTagsClient) ListResponder(resp *http.Response) (result ServiceTagsListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ServiceTagsClient) 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.
ServiceTagsListResult response for the ListServiceTags API service call.
type ServiceTagsListResult struct { autorest.Response `json:"-"` // Name - READ-ONLY; The name of the cloud. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the cloud. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The azure resource type. Type *string `json:"type,omitempty"` // ChangeNumber - READ-ONLY; The iteration number. ChangeNumber *string `json:"changeNumber,omitempty"` // Cloud - READ-ONLY; The name of the cloud. Cloud *string `json:"cloud,omitempty"` // Values - READ-ONLY; The list of service tag information resources. Values *[]ServiceTagInformation `json:"values,omitempty"` // NextLink - READ-ONLY; The URL to get next page of service tag information resources. NextLink *string `json:"nextLink,omitempty"` }
func (stlr ServiceTagsListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceTagsListResult.
SessionIds list of session IDs.
type SessionIds struct { // SessionIds - List of session IDs. SessionIds *[]string `json:"sessionIds,omitempty"` }
Severity enumerates the values for severity.
type Severity string
const ( // SeverityError ... SeverityError Severity = "Error" // SeverityWarning ... SeverityWarning Severity = "Warning" )
func PossibleSeverityValues() []Severity
PossibleSeverityValues returns an array of possible values for the Severity const type.
SignatureOverridesFilterValuesQuery describes the filter values possibles for a given column
type SignatureOverridesFilterValuesQuery struct { // FilterName - Describes the name of the column which values will be returned FilterName *string `json:"filterName,omitempty"` }
SignatureOverridesFilterValuesResponse describes the list of all possible values for a specific filter value
type SignatureOverridesFilterValuesResponse struct { autorest.Response `json:"-"` // FilterValues - Describes the possible values FilterValues *[]string `json:"filterValues,omitempty"` }
SignaturesOverrides contains all specific policy signatures overrides for the IDPS
type SignaturesOverrides struct { autorest.Response `json:"-"` // Name - Contains the name of the resource (default) Name *string `json:"name,omitempty"` // ID - Will contain the resource id of the signature override resource ID *string `json:"id,omitempty"` // Type - Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides Type *string `json:"type,omitempty"` // Properties - Will contain the properties of the resource (the actual signature overrides) Properties *SignaturesOverridesProperties `json:"properties,omitempty"` }
SignaturesOverridesList describes an object containing an array with a single item
type SignaturesOverridesList struct { autorest.Response `json:"-"` // Value - Describes a list consisting exactly one item describing the policy's signature override status Value *[]SignaturesOverrides `json:"value,omitempty"` }
SignaturesOverridesProperties will contain the properties of the resource (the actual signature overrides)
type SignaturesOverridesProperties struct { Signatures map[string]*string `json:"signatures"` }
func (so SignaturesOverridesProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SignaturesOverridesProperties.
SingleQueryResult ...
type SingleQueryResult struct { // SignatureID - The ID of the signature SignatureID *int32 `json:"signatureId,omitempty"` // Mode - The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny Mode *int32 `json:"mode,omitempty"` // Severity - Describes the severity of signature: 1 - Low, 2 - Medium, 3 - High Severity *int32 `json:"severity,omitempty"` // Direction - Describes in which direction signature is being enforced: 0 - Inbound, 1 - OutBound, 2 - Bidirectional Direction *int32 `json:"direction,omitempty"` // Group - Describes the groups the signature belongs to Group *string `json:"group,omitempty"` // Description - Describes what is the signature enforces Description *string `json:"description,omitempty"` // Protocol - Describes the protocol the signatures is being enforced in Protocol *string `json:"protocol,omitempty"` // SourcePorts - Describes the list of source ports related to this signature SourcePorts *[]string `json:"sourcePorts,omitempty"` // DestinationPorts - Describes the list of destination ports related to this signature DestinationPorts *[]string `json:"destinationPorts,omitempty"` // LastUpdated - Describes the last updated time of the signature (provided from 3rd party vendor) LastUpdated *string `json:"lastUpdated,omitempty"` // InheritedFromParentPolicy - Describes if this override is inherited from base policy or not InheritedFromParentPolicy *bool `json:"inheritedFromParentPolicy,omitempty"` }
Sku the sku of this Bastion Host.
type Sku struct { // Name - The name of this Bastion Host. Possible values include: 'BastionHostSkuNameBasic', 'BastionHostSkuNameStandard' Name BastionHostSkuName `json:"name,omitempty"` }
StaticRoute list of all Static Routes.
type StaticRoute struct { // Name - The name of the StaticRoute that is unique within a VnetRoute. Name *string `json:"name,omitempty"` // AddressPrefixes - List of all address prefixes. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` // NextHopIPAddress - The ip address of the next hop. NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` }
String ...
type String struct { autorest.Response `json:"-"` Value *string `json:"value,omitempty"` }
SubResource reference to another subresource.
type SubResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` }
Subnet subnet in a virtual network resource.
type Subnet struct { autorest.Response `json:"-"` // SubnetPropertiesFormat - Properties of the subnet. *SubnetPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (s Subnet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Subnet.
func (s *Subnet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Subnet struct.
SubnetAssociation subnet and it's custom security rules.
type SubnetAssociation struct { // ID - READ-ONLY; Subnet ID. ID *string `json:"id,omitempty"` // SecurityRules - Collection of custom security rules. SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` }
func (sa SubnetAssociation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubnetAssociation.
SubnetListResult response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network.
type SubnetListResult struct { autorest.Response `json:"-"` // Value - The subnets in a virtual network. Value *[]Subnet `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (slr SubnetListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
SubnetListResultIterator provides access to a complete listing of Subnet values.
type SubnetListResultIterator struct {
// contains filtered or unexported fields
}
func NewSubnetListResultIterator(page SubnetListResultPage) SubnetListResultIterator
Creates a new instance of the SubnetListResultIterator type.
func (iter *SubnetListResultIterator) 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 *SubnetListResultIterator) 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 SubnetListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SubnetListResultIterator) Response() SubnetListResult
Response returns the raw server response from the last page request.
func (iter SubnetListResultIterator) Value() Subnet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SubnetListResultPage contains a page of Subnet values.
type SubnetListResultPage struct {
// contains filtered or unexported fields
}
func NewSubnetListResultPage(cur SubnetListResult, getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage
Creates a new instance of the SubnetListResultPage type.
func (page *SubnetListResultPage) 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 *SubnetListResultPage) 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 SubnetListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SubnetListResultPage) Response() SubnetListResult
Response returns the raw server response from the last page request.
func (page SubnetListResultPage) Values() []Subnet
Values returns the slice of values for the current page or nil if there are no values.
SubnetPropertiesFormat properties of the subnet.
type SubnetPropertiesFormat struct { // AddressPrefix - The address prefix for the subnet. AddressPrefix *string `json:"addressPrefix,omitempty"` // AddressPrefixes - List of address prefixes for the subnet. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` // NetworkSecurityGroup - The reference to the NetworkSecurityGroup resource. NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"` // RouteTable - The reference to the RouteTable resource. RouteTable *RouteTable `json:"routeTable,omitempty"` // NatGateway - Nat gateway associated with this subnet. NatGateway *SubResource `json:"natGateway,omitempty"` // ServiceEndpoints - An array of service endpoints. ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` // ServiceEndpointPolicies - An array of service endpoint policies. ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` // PrivateEndpoints - READ-ONLY; An array of references to private endpoints. PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"` // IPConfigurations - READ-ONLY; An array of references to the network interface IP configurations using subnet. IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` // IPConfigurationProfiles - READ-ONLY; Array of IP configuration profiles which reference this subnet. IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"` // IPAllocations - Array of IpAllocation which reference this subnet. IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` // ResourceNavigationLinks - READ-ONLY; An array of references to the external resources using subnet. ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"` // ServiceAssociationLinks - READ-ONLY; An array of references to services injecting into this subnet. ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"` // Delegations - An array of references to the delegations on the subnet. Delegations *[]Delegation `json:"delegations,omitempty"` // Purpose - READ-ONLY; A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. Purpose *string `json:"purpose,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the subnet resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrivateEndpointNetworkPolicies - Enable or Disable apply network policies on private end point in the subnet. Possible values include: 'VirtualNetworkPrivateEndpointNetworkPoliciesEnabled', 'VirtualNetworkPrivateEndpointNetworkPoliciesDisabled' PrivateEndpointNetworkPolicies VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` // PrivateLinkServiceNetworkPolicies - Enable or Disable apply network policies on private link service in the subnet. Possible values include: 'VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled', 'VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled' PrivateLinkServiceNetworkPolicies VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` // ApplicationGatewayIPConfigurations - Application gateway IP configurations of virtual network resource. ApplicationGatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"applicationGatewayIpConfigurations,omitempty"` }
func (spf SubnetPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubnetPropertiesFormat.
SubnetsClient is the network Client
type SubnetsClient struct { BaseClient }
func NewSubnetsClient(subscriptionID string) SubnetsClient
NewSubnetsClient creates an instance of the SubnetsClient client.
func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient
NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (result SubnetsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a subnet in the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. subnetParameters - parameters supplied to the create or update subnet operation.
func (client SubnetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result Subnet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (future SubnetsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client SubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result SubnetsDeleteFuture, err error)
Delete deletes the specified subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.
func (client SubnetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client SubnetsClient) 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 SubnetsClient) DeleteSender(req *http.Request) (future SubnetsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error)
Get gets the specified subnet by virtual network and resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. expand - expands referenced resources.
func (client SubnetsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client SubnetsClient) 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 SubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultPage, err error)
List gets all subnets in a virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (client SubnetsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client SubnetsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client SubnetsClient) ListResponder(resp *http.Response) (result SubnetListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client SubnetsClient) 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.
func (client SubnetsClient) PrepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters PrepareNetworkPoliciesRequest) (result SubnetsPrepareNetworkPoliciesFuture, err error)
PrepareNetworkPolicies prepares a subnet by applying network intent policies. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. prepareNetworkPoliciesRequestParameters - parameters supplied to prepare subnet by applying network intent policies.
func (client SubnetsClient) PrepareNetworkPoliciesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters PrepareNetworkPoliciesRequest) (*http.Request, error)
PrepareNetworkPoliciesPreparer prepares the PrepareNetworkPolicies request.
func (client SubnetsClient) PrepareNetworkPoliciesResponder(resp *http.Response) (result autorest.Response, err error)
PrepareNetworkPoliciesResponder handles the response to the PrepareNetworkPolicies request. The method always closes the http.Response Body.
func (client SubnetsClient) PrepareNetworkPoliciesSender(req *http.Request) (future SubnetsPrepareNetworkPoliciesFuture, err error)
PrepareNetworkPoliciesSender sends the PrepareNetworkPolicies request. The method will close the http.Response Body if it receives an error.
func (client SubnetsClient) UnprepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters UnprepareNetworkPoliciesRequest) (result SubnetsUnprepareNetworkPoliciesFuture, err error)
UnprepareNetworkPolicies unprepares a subnet by removing network intent policies. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. unprepareNetworkPoliciesRequestParameters - parameters supplied to unprepare subnet to remove network intent policies.
func (client SubnetsClient) UnprepareNetworkPoliciesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters UnprepareNetworkPoliciesRequest) (*http.Request, error)
UnprepareNetworkPoliciesPreparer prepares the UnprepareNetworkPolicies request.
func (client SubnetsClient) UnprepareNetworkPoliciesResponder(resp *http.Response) (result autorest.Response, err error)
UnprepareNetworkPoliciesResponder handles the response to the UnprepareNetworkPolicies request. The method always closes the http.Response Body.
func (client SubnetsClient) UnprepareNetworkPoliciesSender(req *http.Request) (future SubnetsUnprepareNetworkPoliciesFuture, err error)
UnprepareNetworkPoliciesSender sends the UnprepareNetworkPolicies request. The method will close the http.Response Body if it receives an error.
SubnetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SubnetsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SubnetsClient) (Subnet, error) }
func (future *SubnetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SubnetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SubnetsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SubnetsClient) (autorest.Response, error) }
func (future *SubnetsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SubnetsPrepareNetworkPoliciesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SubnetsPrepareNetworkPoliciesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SubnetsClient) (autorest.Response, error) }
func (future *SubnetsPrepareNetworkPoliciesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SubnetsUnprepareNetworkPoliciesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type SubnetsUnprepareNetworkPoliciesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SubnetsClient) (autorest.Response, error) }
func (future *SubnetsUnprepareNetworkPoliciesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SyncRemoteAddressSpace enumerates the values for sync remote address space.
type SyncRemoteAddressSpace string
const ( // SyncRemoteAddressSpaceTrue ... SyncRemoteAddressSpaceTrue SyncRemoteAddressSpace = "true" )
func PossibleSyncRemoteAddressSpaceValues() []SyncRemoteAddressSpace
PossibleSyncRemoteAddressSpaceValues returns an array of possible values for the SyncRemoteAddressSpace const type.
TagsObject tags object for patch operations.
type TagsObject struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.
Topology topology of the specified resource group.
type Topology struct { autorest.Response `json:"-"` // ID - READ-ONLY; GUID representing the operation id. ID *string `json:"id,omitempty"` // CreatedDateTime - READ-ONLY; The datetime when the topology was initially created for the resource group. CreatedDateTime *date.Time `json:"createdDateTime,omitempty"` // LastModified - READ-ONLY; The datetime when the topology was last modified. LastModified *date.Time `json:"lastModified,omitempty"` // Resources - A list of topology resources. Resources *[]TopologyResource `json:"resources,omitempty"` }
func (t Topology) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Topology.
TopologyAssociation resources that have an association with the parent resource.
type TopologyAssociation struct { // Name - The name of the resource that is associated with the parent resource. Name *string `json:"name,omitempty"` // ResourceID - The ID of the resource that is associated with the parent resource. ResourceID *string `json:"resourceId,omitempty"` // AssociationType - The association type of the child resource to the parent resource. Possible values include: 'AssociationTypeAssociated', 'AssociationTypeContains' AssociationType AssociationType `json:"associationType,omitempty"` }
TopologyParameters parameters that define the representation of topology.
type TopologyParameters struct { // TargetResourceGroupName - The name of the target resource group to perform topology on. TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` // TargetVirtualNetwork - The reference to the Virtual Network resource. TargetVirtualNetwork *SubResource `json:"targetVirtualNetwork,omitempty"` // TargetSubnet - The reference to the Subnet resource. TargetSubnet *SubResource `json:"targetSubnet,omitempty"` }
TopologyResource the network resource topology information for the given resource group.
type TopologyResource struct { // Name - Name of the resource. Name *string `json:"name,omitempty"` // ID - ID of the resource. ID *string `json:"id,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Associations - Holds the associations the resource has with other resources in the resource group. Associations *[]TopologyAssociation `json:"associations,omitempty"` }
TrafficAnalyticsConfigurationProperties parameters that define the configuration of traffic analytics.
type TrafficAnalyticsConfigurationProperties struct { // Enabled - Flag to enable/disable traffic analytics. Enabled *bool `json:"enabled,omitempty"` // WorkspaceID - The resource guid of the attached workspace. WorkspaceID *string `json:"workspaceId,omitempty"` // WorkspaceRegion - The location of the attached workspace. WorkspaceRegion *string `json:"workspaceRegion,omitempty"` // WorkspaceResourceID - Resource Id of the attached workspace. WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` // TrafficAnalyticsInterval - The interval in minutes which would decide how frequently TA service should do flow analytics. TrafficAnalyticsInterval *int32 `json:"trafficAnalyticsInterval,omitempty"` }
TrafficAnalyticsProperties parameters that define the configuration of traffic analytics.
type TrafficAnalyticsProperties struct { // NetworkWatcherFlowAnalyticsConfiguration - Parameters that define the configuration of traffic analytics. NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` }
TrafficSelectorPolicy an traffic selector policy for a virtual network gateway connection.
type TrafficSelectorPolicy struct { // LocalAddressRanges - A collection of local address spaces in CIDR format. LocalAddressRanges *[]string `json:"localAddressRanges,omitempty"` // RemoteAddressRanges - A collection of remote address spaces in CIDR format. RemoteAddressRanges *[]string `json:"remoteAddressRanges,omitempty"` }
TransportProtocol enumerates the values for transport protocol.
type TransportProtocol string
const ( // TransportProtocolAll ... TransportProtocolAll TransportProtocol = "All" // TransportProtocolTCP ... TransportProtocolTCP TransportProtocol = "Tcp" // TransportProtocolUDP ... TransportProtocolUDP TransportProtocol = "Udp" )
func PossibleTransportProtocolValues() []TransportProtocol
PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.
TroubleshootingDetails information gained from troubleshooting of specified resource.
type TroubleshootingDetails struct { // ID - The id of the get troubleshoot operation. ID *string `json:"id,omitempty"` // ReasonType - Reason type of failure. ReasonType *string `json:"reasonType,omitempty"` // Summary - A summary of troubleshooting. Summary *string `json:"summary,omitempty"` // Detail - Details on troubleshooting results. Detail *string `json:"detail,omitempty"` // RecommendedActions - List of recommended actions. RecommendedActions *[]TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"` }
TroubleshootingParameters parameters that define the resource to troubleshoot.
type TroubleshootingParameters struct { // TargetResourceID - The target resource to troubleshoot. TargetResourceID *string `json:"targetResourceId,omitempty"` // TroubleshootingProperties - Properties of the troubleshooting resource. *TroubleshootingProperties `json:"properties,omitempty"` }
func (tp TroubleshootingParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TroubleshootingParameters.
func (tp *TroubleshootingParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TroubleshootingParameters struct.
TroubleshootingProperties storage location provided for troubleshoot.
type TroubleshootingProperties struct { // StorageID - The ID for the storage account to save the troubleshoot result. StorageID *string `json:"storageId,omitempty"` // StoragePath - The path to the blob to save the troubleshoot result in. StoragePath *string `json:"storagePath,omitempty"` }
TroubleshootingRecommendedActions recommended actions based on discovered issues.
type TroubleshootingRecommendedActions struct { // ActionID - ID of the recommended action. ActionID *string `json:"actionId,omitempty"` // ActionText - Description of recommended actions. ActionText *string `json:"actionText,omitempty"` // ActionURI - The uri linking to a documentation for the recommended troubleshooting actions. ActionURI *string `json:"actionUri,omitempty"` // ActionURIText - The information from the URI for the recommended troubleshooting actions. ActionURIText *string `json:"actionUriText,omitempty"` }
TroubleshootingResult troubleshooting information gained from specified resource.
type TroubleshootingResult struct { autorest.Response `json:"-"` // StartTime - The start time of the troubleshooting. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - The end time of the troubleshooting. EndTime *date.Time `json:"endTime,omitempty"` // Code - The result code of the troubleshooting. Code *string `json:"code,omitempty"` // Results - Information from troubleshooting. Results *[]TroubleshootingDetails `json:"results,omitempty"` }
TunnelConnectionHealth virtualNetworkGatewayConnection properties.
type TunnelConnectionHealth struct { // Tunnel - READ-ONLY; Tunnel name. Tunnel *string `json:"tunnel,omitempty"` // ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected' ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` // IngressBytesTransferred - READ-ONLY; The Ingress Bytes Transferred in this connection. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // EgressBytesTransferred - READ-ONLY; The Egress Bytes Transferred in this connection. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // LastConnectionEstablishedUtcTime - READ-ONLY; The time at which connection was established in Utc format. LastConnectionEstablishedUtcTime *string `json:"lastConnectionEstablishedUtcTime,omitempty"` }
func (tch TunnelConnectionHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TunnelConnectionHealth.
TunnelConnectionStatus enumerates the values for tunnel connection status.
type TunnelConnectionStatus string
const ( // TunnelConnectionStatusConnected ... TunnelConnectionStatusConnected TunnelConnectionStatus = "Connected" // TunnelConnectionStatusConnecting ... TunnelConnectionStatusConnecting TunnelConnectionStatus = "Connecting" // TunnelConnectionStatusNotConnected ... TunnelConnectionStatusNotConnected TunnelConnectionStatus = "NotConnected" // TunnelConnectionStatusUnknown ... TunnelConnectionStatusUnknown TunnelConnectionStatus = "Unknown" )
func PossibleTunnelConnectionStatusValues() []TunnelConnectionStatus
PossibleTunnelConnectionStatusValues returns an array of possible values for the TunnelConnectionStatus const type.
UnprepareNetworkPoliciesRequest details of UnprepareNetworkPolicies for Subnet.
type UnprepareNetworkPoliciesRequest struct { // ServiceName - The name of the service for which subnet is being unprepared for. ServiceName *string `json:"serviceName,omitempty"` }
Usage the network resource usage.
type Usage struct { // ID - READ-ONLY; Resource identifier. ID *string `json:"id,omitempty"` // Unit - An enum describing the unit of measurement. Unit *string `json:"unit,omitempty"` // CurrentValue - The current value of the usage. CurrentValue *int64 `json:"currentValue,omitempty"` // Limit - The limit of usage. Limit *int64 `json:"limit,omitempty"` // Name - The name of the type of usage. Name *UsageName `json:"name,omitempty"` }
func (u Usage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Usage.
UsageName the usage names.
type UsageName struct { // Value - A string describing the resource name. Value *string `json:"value,omitempty"` // LocalizedValue - A localized string describing the resource name. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsagesClient is the network Client
type UsagesClient struct { BaseClient }
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client UsagesClient) List(ctx context.Context, location string) (result UsagesListResultPage, err error)
List list network usages for a subscription. Parameters: location - the location where resource usage is queried.
func (client UsagesClient) ListComplete(ctx context.Context, location string) (result UsagesListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client UsagesClient) 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.
UsagesListResult the list usages operation response.
type UsagesListResult struct { autorest.Response `json:"-"` // Value - The list network resource usages. Value *[]Usage `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (ulr UsagesListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
UsagesListResultIterator provides access to a complete listing of Usage values.
type UsagesListResultIterator struct {
// contains filtered or unexported fields
}
func NewUsagesListResultIterator(page UsagesListResultPage) UsagesListResultIterator
Creates a new instance of the UsagesListResultIterator type.
func (iter *UsagesListResultIterator) 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 *UsagesListResultIterator) 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 UsagesListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter UsagesListResultIterator) Response() UsagesListResult
Response returns the raw server response from the last page request.
func (iter UsagesListResultIterator) Value() Usage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
UsagesListResultPage contains a page of Usage values.
type UsagesListResultPage struct {
// contains filtered or unexported fields
}
func NewUsagesListResultPage(cur UsagesListResult, getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage
Creates a new instance of the UsagesListResultPage type.
func (page *UsagesListResultPage) 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 *UsagesListResultPage) 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 UsagesListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page UsagesListResultPage) Response() UsagesListResult
Response returns the raw server response from the last page request.
func (page UsagesListResultPage) Values() []Usage
Values returns the slice of values for the current page or nil if there are no values.
VM describes a Virtual Machine.
type VM struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vVar VM) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VM.
VerbosityLevel enumerates the values for verbosity level.
type VerbosityLevel string
const ( // VerbosityLevelFull ... VerbosityLevelFull VerbosityLevel = "Full" // VerbosityLevelMinimum ... VerbosityLevelMinimum VerbosityLevel = "Minimum" // VerbosityLevelNormal ... VerbosityLevelNormal VerbosityLevel = "Normal" )
func PossibleVerbosityLevelValues() []VerbosityLevel
PossibleVerbosityLevelValues returns an array of possible values for the VerbosityLevel const type.
VerificationIPFlowParameters parameters that define the IP flow to be verified.
type VerificationIPFlowParameters struct { // TargetResourceID - The ID of the target resource to perform next-hop on. TargetResourceID *string `json:"targetResourceId,omitempty"` // Direction - The direction of the packet represented as a 5-tuple. Possible values include: 'DirectionInbound', 'DirectionOutbound' Direction Direction `json:"direction,omitempty"` // Protocol - Protocol to be verified on. Possible values include: 'IPFlowProtocolTCP', 'IPFlowProtocolUDP' Protocol IPFlowProtocol `json:"protocol,omitempty"` // LocalPort - The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. LocalPort *string `json:"localPort,omitempty"` // RemotePort - The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. RemotePort *string `json:"remotePort,omitempty"` // LocalIPAddress - The local IP address. Acceptable values are valid IPv4 addresses. LocalIPAddress *string `json:"localIPAddress,omitempty"` // RemoteIPAddress - The remote IP address. Acceptable values are valid IPv4 addresses. RemoteIPAddress *string `json:"remoteIPAddress,omitempty"` // TargetNicResourceID - The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional). TargetNicResourceID *string `json:"targetNicResourceId,omitempty"` }
VerificationIPFlowResult results of IP flow verification on the target resource.
type VerificationIPFlowResult struct { autorest.Response `json:"-"` // Access - Indicates whether the traffic is allowed or denied. Possible values include: 'AccessAllow', 'AccessDeny' Access Access `json:"access,omitempty"` // RuleName - Name of the rule. If input is not matched against any security rule, it is not displayed. RuleName *string `json:"ruleName,omitempty"` }
VirtualAppliance networkVirtualAppliance Resource.
type VirtualAppliance struct { autorest.Response `json:"-"` // VirtualAppliancePropertiesFormat - Properties of the Network Virtual Appliance. *VirtualAppliancePropertiesFormat `json:"properties,omitempty"` // Identity - The service principal that has read access to cloud-init and config blob. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (va VirtualAppliance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualAppliance.
func (va *VirtualAppliance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualAppliance struct.
VirtualApplianceListResult response for ListNetworkVirtualAppliances API service call.
type VirtualApplianceListResult struct { autorest.Response `json:"-"` // Value - List of Network Virtual Appliances. Value *[]VirtualAppliance `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (valr VirtualApplianceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualApplianceListResultIterator provides access to a complete listing of VirtualAppliance values.
type VirtualApplianceListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceListResultIterator(page VirtualApplianceListResultPage) VirtualApplianceListResultIterator
Creates a new instance of the VirtualApplianceListResultIterator type.
func (iter *VirtualApplianceListResultIterator) 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 *VirtualApplianceListResultIterator) 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 VirtualApplianceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualApplianceListResultIterator) Response() VirtualApplianceListResult
Response returns the raw server response from the last page request.
func (iter VirtualApplianceListResultIterator) Value() VirtualAppliance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualApplianceListResultPage contains a page of VirtualAppliance values.
type VirtualApplianceListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceListResultPage(cur VirtualApplianceListResult, getNextPage func(context.Context, VirtualApplianceListResult) (VirtualApplianceListResult, error)) VirtualApplianceListResultPage
Creates a new instance of the VirtualApplianceListResultPage type.
func (page *VirtualApplianceListResultPage) 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 *VirtualApplianceListResultPage) 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 VirtualApplianceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualApplianceListResultPage) Response() VirtualApplianceListResult
Response returns the raw server response from the last page request.
func (page VirtualApplianceListResultPage) Values() []VirtualAppliance
Values returns the slice of values for the current page or nil if there are no values.
VirtualApplianceNicProperties network Virtual Appliance NIC properties.
type VirtualApplianceNicProperties struct { // Name - READ-ONLY; NIC name. Name *string `json:"name,omitempty"` // PublicIPAddress - READ-ONLY; Public IP address. PublicIPAddress *string `json:"publicIpAddress,omitempty"` // PrivateIPAddress - READ-ONLY; Private IP address. PrivateIPAddress *string `json:"privateIpAddress,omitempty"` }
func (vanp VirtualApplianceNicProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceNicProperties.
VirtualAppliancePropertiesFormat network Virtual Appliance definition.
type VirtualAppliancePropertiesFormat struct { // NvaSku - Network Virtual Appliance SKU. NvaSku *VirtualApplianceSkuProperties `json:"nvaSku,omitempty"` // AddressPrefix - READ-ONLY; Address Prefix. AddressPrefix *string `json:"addressPrefix,omitempty"` // BootStrapConfigurationBlobs - BootStrapConfigurationBlobs storage URLs. BootStrapConfigurationBlobs *[]string `json:"bootStrapConfigurationBlobs,omitempty"` // VirtualHub - The Virtual Hub where Network Virtual Appliance is being deployed. VirtualHub *SubResource `json:"virtualHub,omitempty"` // CloudInitConfigurationBlobs - CloudInitConfigurationBlob storage URLs. CloudInitConfigurationBlobs *[]string `json:"cloudInitConfigurationBlobs,omitempty"` // CloudInitConfiguration - CloudInitConfiguration string in plain text. CloudInitConfiguration *string `json:"cloudInitConfiguration,omitempty"` // VirtualApplianceAsn - VirtualAppliance ASN. VirtualApplianceAsn *int64 `json:"virtualApplianceAsn,omitempty"` // SSHPublicKey - Public key for SSH login. SSHPublicKey *string `json:"sshPublicKey,omitempty"` // VirtualApplianceNics - READ-ONLY; List of Virtual Appliance Network Interfaces. VirtualApplianceNics *[]VirtualApplianceNicProperties `json:"virtualApplianceNics,omitempty"` // VirtualApplianceSites - READ-ONLY; List of references to VirtualApplianceSite. VirtualApplianceSites *[]SubResource `json:"virtualApplianceSites,omitempty"` // InboundSecurityRules - READ-ONLY; List of references to InboundSecurityRules. InboundSecurityRules *[]SubResource `json:"inboundSecurityRules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vapf VirtualAppliancePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualAppliancePropertiesFormat.
VirtualApplianceSite virtual Appliance Site resource.
type VirtualApplianceSite struct { autorest.Response `json:"-"` // VirtualApplianceSiteProperties - The properties of the Virtual Appliance Sites. *VirtualApplianceSiteProperties `json:"properties,omitempty"` // Name - Name of the virtual appliance site. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Site type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vas VirtualApplianceSite) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceSite.
func (vas *VirtualApplianceSite) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualApplianceSite struct.
VirtualApplianceSiteListResult response for ListNetworkVirtualApplianceSites API service call.
type VirtualApplianceSiteListResult struct { autorest.Response `json:"-"` // Value - List of Network Virtual Appliance sites. Value *[]VirtualApplianceSite `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vaslr VirtualApplianceSiteListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualApplianceSiteListResultIterator provides access to a complete listing of VirtualApplianceSite values.
type VirtualApplianceSiteListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceSiteListResultIterator(page VirtualApplianceSiteListResultPage) VirtualApplianceSiteListResultIterator
Creates a new instance of the VirtualApplianceSiteListResultIterator type.
func (iter *VirtualApplianceSiteListResultIterator) 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 *VirtualApplianceSiteListResultIterator) 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 VirtualApplianceSiteListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualApplianceSiteListResultIterator) Response() VirtualApplianceSiteListResult
Response returns the raw server response from the last page request.
func (iter VirtualApplianceSiteListResultIterator) Value() VirtualApplianceSite
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualApplianceSiteListResultPage contains a page of VirtualApplianceSite values.
type VirtualApplianceSiteListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceSiteListResultPage(cur VirtualApplianceSiteListResult, getNextPage func(context.Context, VirtualApplianceSiteListResult) (VirtualApplianceSiteListResult, error)) VirtualApplianceSiteListResultPage
Creates a new instance of the VirtualApplianceSiteListResultPage type.
func (page *VirtualApplianceSiteListResultPage) 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 *VirtualApplianceSiteListResultPage) 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 VirtualApplianceSiteListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualApplianceSiteListResultPage) Response() VirtualApplianceSiteListResult
Response returns the raw server response from the last page request.
func (page VirtualApplianceSiteListResultPage) Values() []VirtualApplianceSite
Values returns the slice of values for the current page or nil if there are no values.
VirtualApplianceSiteProperties properties of the rule group.
type VirtualApplianceSiteProperties struct { // AddressPrefix - Address Prefix. AddressPrefix *string `json:"addressPrefix,omitempty"` // O365Policy - Office 365 Policy. O365Policy *Office365PolicyProperties `json:"o365Policy,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vasp VirtualApplianceSiteProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceSiteProperties.
VirtualApplianceSitesClient is the network Client
type VirtualApplianceSitesClient struct { BaseClient }
func NewVirtualApplianceSitesClient(subscriptionID string) VirtualApplianceSitesClient
NewVirtualApplianceSitesClient creates an instance of the VirtualApplianceSitesClient client.
func NewVirtualApplianceSitesClientWithBaseURI(baseURI string, subscriptionID string) VirtualApplianceSitesClient
NewVirtualApplianceSitesClientWithBaseURI creates an instance of the VirtualApplianceSitesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualApplianceSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string, parameters VirtualApplianceSite) (result VirtualApplianceSitesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Network Virtual Appliance Site. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of the Network Virtual Appliance. siteName - the name of the site. parameters - parameters supplied to the create or update Network Virtual Appliance Site operation.
func (client VirtualApplianceSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string, parameters VirtualApplianceSite) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualApplianceSitesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualApplianceSite, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualApplianceSitesClient) CreateOrUpdateSender(req *http.Request) (future VirtualApplianceSitesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualApplianceSitesClient) Delete(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string) (result VirtualApplianceSitesDeleteFuture, err error)
Delete deletes the specified site from a Virtual Appliance. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of the Network Virtual Appliance. siteName - the name of the site.
func (client VirtualApplianceSitesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualApplianceSitesClient) 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 VirtualApplianceSitesClient) DeleteSender(req *http.Request) (future VirtualApplianceSitesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualApplianceSitesClient) Get(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string) (result VirtualApplianceSite, err error)
Get gets the specified Virtual Appliance Site. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of the Network Virtual Appliance. siteName - the name of the site.
func (client VirtualApplianceSitesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualApplianceSitesClient) GetResponder(resp *http.Response) (result VirtualApplianceSite, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualApplianceSitesClient) 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 VirtualApplianceSitesClient) List(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string) (result VirtualApplianceSiteListResultPage, err error)
List lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of the Network Virtual Appliance.
func (client VirtualApplianceSitesClient) ListComplete(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string) (result VirtualApplianceSiteListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualApplianceSitesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualApplianceSitesClient) ListResponder(resp *http.Response) (result VirtualApplianceSiteListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualApplianceSitesClient) 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.
VirtualApplianceSitesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualApplianceSitesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualApplianceSitesClient) (VirtualApplianceSite, error) }
func (future *VirtualApplianceSitesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualApplianceSitesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualApplianceSitesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualApplianceSitesClient) (autorest.Response, error) }
func (future *VirtualApplianceSitesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualApplianceSku definition of the NetworkVirtualApplianceSkus resource.
type VirtualApplianceSku struct { autorest.Response `json:"-"` // VirtualApplianceSkuPropertiesFormat - NetworkVirtualApplianceSku properties. *VirtualApplianceSkuPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vas VirtualApplianceSku) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceSku.
func (vas *VirtualApplianceSku) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualApplianceSku struct.
VirtualApplianceSkuInstances list of available Sku and instances.
type VirtualApplianceSkuInstances struct { // ScaleUnit - READ-ONLY; Scale Unit. ScaleUnit *string `json:"scaleUnit,omitempty"` // InstanceCount - READ-ONLY; Instance Count. InstanceCount *int32 `json:"instanceCount,omitempty"` }
func (vasi VirtualApplianceSkuInstances) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceSkuInstances.
VirtualApplianceSkuListResult response for ListNetworkVirtualApplianceSkus API service call.
type VirtualApplianceSkuListResult struct { autorest.Response `json:"-"` // Value - List of Network Virtual Appliance Skus that are available. Value *[]VirtualApplianceSku `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vaslr VirtualApplianceSkuListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualApplianceSkuListResultIterator provides access to a complete listing of VirtualApplianceSku values.
type VirtualApplianceSkuListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceSkuListResultIterator(page VirtualApplianceSkuListResultPage) VirtualApplianceSkuListResultIterator
Creates a new instance of the VirtualApplianceSkuListResultIterator type.
func (iter *VirtualApplianceSkuListResultIterator) 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 *VirtualApplianceSkuListResultIterator) 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 VirtualApplianceSkuListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualApplianceSkuListResultIterator) Response() VirtualApplianceSkuListResult
Response returns the raw server response from the last page request.
func (iter VirtualApplianceSkuListResultIterator) Value() VirtualApplianceSku
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualApplianceSkuListResultPage contains a page of VirtualApplianceSku values.
type VirtualApplianceSkuListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualApplianceSkuListResultPage(cur VirtualApplianceSkuListResult, getNextPage func(context.Context, VirtualApplianceSkuListResult) (VirtualApplianceSkuListResult, error)) VirtualApplianceSkuListResultPage
Creates a new instance of the VirtualApplianceSkuListResultPage type.
func (page *VirtualApplianceSkuListResultPage) 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 *VirtualApplianceSkuListResultPage) 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 VirtualApplianceSkuListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualApplianceSkuListResultPage) Response() VirtualApplianceSkuListResult
Response returns the raw server response from the last page request.
func (page VirtualApplianceSkuListResultPage) Values() []VirtualApplianceSku
Values returns the slice of values for the current page or nil if there are no values.
VirtualApplianceSkuProperties network Virtual Appliance Sku Properties.
type VirtualApplianceSkuProperties struct { // Vendor - Virtual Appliance Vendor. Vendor *string `json:"vendor,omitempty"` // BundledScaleUnit - Virtual Appliance Scale Unit. BundledScaleUnit *string `json:"bundledScaleUnit,omitempty"` // MarketPlaceVersion - Virtual Appliance Version. MarketPlaceVersion *string `json:"marketPlaceVersion,omitempty"` }
VirtualApplianceSkuPropertiesFormat properties specific to NetworkVirtualApplianceSkus.
type VirtualApplianceSkuPropertiesFormat struct { // Vendor - READ-ONLY; Network Virtual Appliance Sku vendor. Vendor *string `json:"vendor,omitempty"` // AvailableVersions - READ-ONLY; Available Network Virtual Appliance versions. AvailableVersions *[]string `json:"availableVersions,omitempty"` // AvailableScaleUnits - The list of scale units available. AvailableScaleUnits *[]VirtualApplianceSkuInstances `json:"availableScaleUnits,omitempty"` }
func (vaspf VirtualApplianceSkuPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualApplianceSkuPropertiesFormat.
VirtualApplianceSkusClient is the network Client
type VirtualApplianceSkusClient struct { BaseClient }
func NewVirtualApplianceSkusClient(subscriptionID string) VirtualApplianceSkusClient
NewVirtualApplianceSkusClient creates an instance of the VirtualApplianceSkusClient client.
func NewVirtualApplianceSkusClientWithBaseURI(baseURI string, subscriptionID string) VirtualApplianceSkusClient
NewVirtualApplianceSkusClientWithBaseURI creates an instance of the VirtualApplianceSkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualApplianceSkusClient) Get(ctx context.Context, skuName string) (result VirtualApplianceSku, err error)
Get retrieves a single available sku for network virtual appliance. Parameters: skuName - name of the Sku.
func (client VirtualApplianceSkusClient) GetPreparer(ctx context.Context, skuName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualApplianceSkusClient) GetResponder(resp *http.Response) (result VirtualApplianceSku, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualApplianceSkusClient) 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 VirtualApplianceSkusClient) List(ctx context.Context) (result VirtualApplianceSkuListResultPage, err error)
List list all SKUs available for a virtual appliance.
func (client VirtualApplianceSkusClient) ListComplete(ctx context.Context) (result VirtualApplianceSkuListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualApplianceSkusClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualApplianceSkusClient) ListResponder(resp *http.Response) (result VirtualApplianceSkuListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualApplianceSkusClient) 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.
VirtualAppliancesClient is the network Client
type VirtualAppliancesClient struct { BaseClient }
func NewVirtualAppliancesClient(subscriptionID string) VirtualAppliancesClient
NewVirtualAppliancesClient creates an instance of the VirtualAppliancesClient client.
func NewVirtualAppliancesClientWithBaseURI(baseURI string, subscriptionID string) VirtualAppliancesClient
NewVirtualAppliancesClientWithBaseURI creates an instance of the VirtualAppliancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualAppliancesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, parameters VirtualAppliance) (result VirtualAppliancesCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Network Virtual Appliance. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of Network Virtual Appliance. parameters - parameters supplied to the create or update Network Virtual Appliance.
func (client VirtualAppliancesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, parameters VirtualAppliance) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualAppliancesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualAppliance, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualAppliancesClient) CreateOrUpdateSender(req *http.Request) (future VirtualAppliancesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualAppliancesClient) Delete(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string) (result VirtualAppliancesDeleteFuture, err error)
Delete deletes the specified Network Virtual Appliance. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of Network Virtual Appliance.
func (client VirtualAppliancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualAppliancesClient) 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 VirtualAppliancesClient) DeleteSender(req *http.Request) (future VirtualAppliancesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualAppliancesClient) Get(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, expand string) (result VirtualAppliance, err error)
Get gets the specified Network Virtual Appliance. Parameters: resourceGroupName - the name of the resource group. networkVirtualApplianceName - the name of Network Virtual Appliance. expand - expands referenced resources.
func (client VirtualAppliancesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualAppliancesClient) GetResponder(resp *http.Response) (result VirtualAppliance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualAppliancesClient) 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 VirtualAppliancesClient) List(ctx context.Context) (result VirtualApplianceListResultPage, err error)
List gets all Network Virtual Appliances in a subscription.
func (client VirtualAppliancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualApplianceListResultPage, err error)
ListByResourceGroup lists all Network Virtual Appliances in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualAppliancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualApplianceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualAppliancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VirtualAppliancesClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualApplianceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VirtualAppliancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VirtualAppliancesClient) ListComplete(ctx context.Context) (result VirtualApplianceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualAppliancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualAppliancesClient) ListResponder(resp *http.Response) (result VirtualApplianceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualAppliancesClient) 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.
func (client VirtualAppliancesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, parameters TagsObject) (result VirtualAppliance, err error)
UpdateTags updates a Network Virtual Appliance. Parameters: resourceGroupName - the resource group name of Network Virtual Appliance. networkVirtualApplianceName - the name of Network Virtual Appliance being updated. parameters - parameters supplied to Update Network Virtual Appliance Tags.
func (client VirtualAppliancesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualAppliancesClient) UpdateTagsResponder(resp *http.Response) (result VirtualAppliance, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualAppliancesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualAppliancesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualAppliancesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualAppliancesClient) (VirtualAppliance, error) }
func (future *VirtualAppliancesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualAppliancesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualAppliancesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualAppliancesClient) (autorest.Response, error) }
func (future *VirtualAppliancesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHub virtualHub Resource.
type VirtualHub struct { autorest.Response `json:"-"` // VirtualHubProperties - Properties of the virtual hub. *VirtualHubProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Kind - READ-ONLY; Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server. Kind *string `json:"kind,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vh VirtualHub) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualHub.
func (vh *VirtualHub) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualHub struct.
VirtualHubBgpConnectionClient is the network Client
type VirtualHubBgpConnectionClient struct { BaseClient }
func NewVirtualHubBgpConnectionClient(subscriptionID string) VirtualHubBgpConnectionClient
NewVirtualHubBgpConnectionClient creates an instance of the VirtualHubBgpConnectionClient client.
func NewVirtualHubBgpConnectionClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubBgpConnectionClient
NewVirtualHubBgpConnectionClientWithBaseURI creates an instance of the VirtualHubBgpConnectionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualHubBgpConnectionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, parameters BgpConnection) (result VirtualHubBgpConnectionCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. connectionName - the name of the connection. parameters - parameters of Bgp connection.
func (client VirtualHubBgpConnectionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, parameters BgpConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualHubBgpConnectionClient) CreateOrUpdateResponder(resp *http.Response) (result BgpConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualHubBgpConnectionClient) CreateOrUpdateSender(req *http.Request) (future VirtualHubBgpConnectionCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubBgpConnectionClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result VirtualHubBgpConnectionDeleteFuture, err error)
Delete deletes a VirtualHubBgpConnection. Parameters: resourceGroupName - the resource group name of the VirtualHubBgpConnection. virtualHubName - the name of the VirtualHub. connectionName - the name of the connection.
func (client VirtualHubBgpConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualHubBgpConnectionClient) 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 VirtualHubBgpConnectionClient) DeleteSender(req *http.Request) (future VirtualHubBgpConnectionDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubBgpConnectionClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result BgpConnection, err error)
Get retrieves the details of a Virtual Hub Bgp Connection. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. connectionName - the name of the connection.
func (client VirtualHubBgpConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualHubBgpConnectionClient) GetResponder(resp *http.Response) (result BgpConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualHubBgpConnectionClient) 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.
VirtualHubBgpConnectionCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubBgpConnectionCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubBgpConnectionClient) (BgpConnection, error) }
func (future *VirtualHubBgpConnectionCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubBgpConnectionDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubBgpConnectionDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubBgpConnectionClient) (autorest.Response, error) }
func (future *VirtualHubBgpConnectionDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubBgpConnectionsClient is the network Client
type VirtualHubBgpConnectionsClient struct { BaseClient }
func NewVirtualHubBgpConnectionsClient(subscriptionID string) VirtualHubBgpConnectionsClient
NewVirtualHubBgpConnectionsClient creates an instance of the VirtualHubBgpConnectionsClient client.
func NewVirtualHubBgpConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubBgpConnectionsClient
NewVirtualHubBgpConnectionsClientWithBaseURI creates an instance of the VirtualHubBgpConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualHubBgpConnectionsClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubBgpConnectionResultsPage, err error)
List retrieves the details of all VirtualHubBgpConnections. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client VirtualHubBgpConnectionsClient) ListAdvertisedRoutes(ctx context.Context, resourceGroupName string, hubName string, connectionName string) (result VirtualHubBgpConnectionsListAdvertisedRoutesFuture, err error)
ListAdvertisedRoutes retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the virtual hub. connectionName - the name of the virtual hub bgp connection.
func (client VirtualHubBgpConnectionsClient) ListAdvertisedRoutesPreparer(ctx context.Context, resourceGroupName string, hubName string, connectionName string) (*http.Request, error)
ListAdvertisedRoutesPreparer prepares the ListAdvertisedRoutes request.
func (client VirtualHubBgpConnectionsClient) ListAdvertisedRoutesResponder(resp *http.Response) (result PeerRouteList, err error)
ListAdvertisedRoutesResponder handles the response to the ListAdvertisedRoutes request. The method always closes the http.Response Body.
func (client VirtualHubBgpConnectionsClient) ListAdvertisedRoutesSender(req *http.Request) (future VirtualHubBgpConnectionsListAdvertisedRoutesFuture, err error)
ListAdvertisedRoutesSender sends the ListAdvertisedRoutes request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubBgpConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubBgpConnectionResultsIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualHubBgpConnectionsClient) ListLearnedRoutes(ctx context.Context, resourceGroupName string, hubName string, connectionName string) (result VirtualHubBgpConnectionsListLearnedRoutesFuture, err error)
ListLearnedRoutes retrieves a list of routes the virtual hub bgp connection has learned. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the virtual hub. connectionName - the name of the virtual hub bgp connection.
func (client VirtualHubBgpConnectionsClient) ListLearnedRoutesPreparer(ctx context.Context, resourceGroupName string, hubName string, connectionName string) (*http.Request, error)
ListLearnedRoutesPreparer prepares the ListLearnedRoutes request.
func (client VirtualHubBgpConnectionsClient) ListLearnedRoutesResponder(resp *http.Response) (result PeerRouteList, err error)
ListLearnedRoutesResponder handles the response to the ListLearnedRoutes request. The method always closes the http.Response Body.
func (client VirtualHubBgpConnectionsClient) ListLearnedRoutesSender(req *http.Request) (future VirtualHubBgpConnectionsListLearnedRoutesFuture, err error)
ListLearnedRoutesSender sends the ListLearnedRoutes request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubBgpConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualHubBgpConnectionsClient) ListResponder(resp *http.Response) (result ListVirtualHubBgpConnectionResults, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualHubBgpConnectionsClient) 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.
VirtualHubBgpConnectionsListAdvertisedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubBgpConnectionsListAdvertisedRoutesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubBgpConnectionsClient) (PeerRouteList, error) }
func (future *VirtualHubBgpConnectionsListAdvertisedRoutesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubBgpConnectionsListLearnedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubBgpConnectionsListLearnedRoutesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubBgpConnectionsClient) (PeerRouteList, error) }
func (future *VirtualHubBgpConnectionsListLearnedRoutesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubEffectiveRoute the effective route configured on the virtual hub or specified resource.
type VirtualHubEffectiveRoute struct { // AddressPrefixes - The list of address prefixes. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` // NextHops - The list of next hops. NextHops *[]string `json:"nextHops,omitempty"` // NextHopType - The type of the next hop. NextHopType *string `json:"nextHopType,omitempty"` // AsPath - The ASPath of this route. AsPath *string `json:"asPath,omitempty"` // RouteOrigin - The origin of this route. RouteOrigin *string `json:"routeOrigin,omitempty"` }
VirtualHubEffectiveRouteList effectiveRoutes List.
type VirtualHubEffectiveRouteList struct { // Value - The list of effective routes configured on the virtual hub or the specified resource. Value *[]VirtualHubEffectiveRoute `json:"value,omitempty"` }
VirtualHubID virtual Hub identifier.
type VirtualHubID struct { // ID - The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. ID *string `json:"id,omitempty"` }
VirtualHubIPConfigurationClient is the network Client
type VirtualHubIPConfigurationClient struct { BaseClient }
func NewVirtualHubIPConfigurationClient(subscriptionID string) VirtualHubIPConfigurationClient
NewVirtualHubIPConfigurationClient creates an instance of the VirtualHubIPConfigurationClient client.
func NewVirtualHubIPConfigurationClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubIPConfigurationClient
NewVirtualHubIPConfigurationClientWithBaseURI creates an instance of the VirtualHubIPConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualHubIPConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string, parameters HubIPConfiguration) (result VirtualHubIPConfigurationCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. IPConfigName - the name of the ipconfig. parameters - hub Ip Configuration parameters.
func (client VirtualHubIPConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string, parameters HubIPConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualHubIPConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result HubIPConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualHubIPConfigurationClient) CreateOrUpdateSender(req *http.Request) (future VirtualHubIPConfigurationCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubIPConfigurationClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string) (result VirtualHubIPConfigurationDeleteFuture, err error)
Delete deletes a VirtualHubIpConfiguration. Parameters: resourceGroupName - the resource group name of the VirtualHubBgpConnection. virtualHubName - the name of the VirtualHub. IPConfigName - the name of the ipconfig.
func (client VirtualHubIPConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualHubIPConfigurationClient) 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 VirtualHubIPConfigurationClient) DeleteSender(req *http.Request) (future VirtualHubIPConfigurationDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubIPConfigurationClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string) (result HubIPConfiguration, err error)
Get retrieves the details of a Virtual Hub Ip configuration. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. IPConfigName - the name of the ipconfig.
func (client VirtualHubIPConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, IPConfigName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualHubIPConfigurationClient) GetResponder(resp *http.Response) (result HubIPConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualHubIPConfigurationClient) 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 VirtualHubIPConfigurationClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubIPConfigurationResultsPage, err error)
List retrieves the details of all VirtualHubIpConfigurations. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client VirtualHubIPConfigurationClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubIPConfigurationResultsIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualHubIPConfigurationClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualHubIPConfigurationClient) ListResponder(resp *http.Response) (result ListVirtualHubIPConfigurationResults, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualHubIPConfigurationClient) 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.
VirtualHubIPConfigurationCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubIPConfigurationCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubIPConfigurationClient) (HubIPConfiguration, error) }
func (future *VirtualHubIPConfigurationCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubIPConfigurationDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubIPConfigurationDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubIPConfigurationClient) (autorest.Response, error) }
func (future *VirtualHubIPConfigurationDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubProperties parameters for VirtualHub.
type VirtualHubProperties struct { // VirtualWan - The VirtualWAN to which the VirtualHub belongs. VirtualWan *SubResource `json:"virtualWan,omitempty"` // VpnGateway - The VpnGateway associated with this VirtualHub. VpnGateway *SubResource `json:"vpnGateway,omitempty"` // P2SVpnGateway - The P2SVpnGateway associated with this VirtualHub. P2SVpnGateway *SubResource `json:"p2SVpnGateway,omitempty"` // ExpressRouteGateway - The expressRouteGateway associated with this VirtualHub. ExpressRouteGateway *SubResource `json:"expressRouteGateway,omitempty"` // AzureFirewall - The azureFirewall associated with this VirtualHub. AzureFirewall *SubResource `json:"azureFirewall,omitempty"` // SecurityPartnerProvider - The securityPartnerProvider associated with this VirtualHub. SecurityPartnerProvider *SubResource `json:"securityPartnerProvider,omitempty"` // AddressPrefix - Address-prefix for this VirtualHub. AddressPrefix *string `json:"addressPrefix,omitempty"` // RouteTable - The routeTable associated with this virtual hub. RouteTable *VirtualHubRouteTable `json:"routeTable,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual hub resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // SecurityProviderName - The Security Provider name. SecurityProviderName *string `json:"securityProviderName,omitempty"` // VirtualHubRouteTableV2s - List of all virtual hub route table v2s associated with this VirtualHub. VirtualHubRouteTableV2s *[]VirtualHubRouteTableV2 `json:"virtualHubRouteTableV2s,omitempty"` // Sku - The sku of this VirtualHub. Sku *string `json:"sku,omitempty"` // RoutingState - The routing state. Possible values include: 'RoutingStateNone', 'RoutingStateProvisioned', 'RoutingStateProvisioning', 'RoutingStateFailed' RoutingState RoutingState `json:"routingState,omitempty"` // BgpConnections - READ-ONLY; List of references to Bgp Connections. BgpConnections *[]SubResource `json:"bgpConnections,omitempty"` // IPConfigurations - READ-ONLY; List of references to IpConfigurations. IPConfigurations *[]SubResource `json:"ipConfigurations,omitempty"` // VirtualRouterAsn - VirtualRouter ASN. VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"` // VirtualRouterIps - VirtualRouter IPs. VirtualRouterIps *[]string `json:"virtualRouterIps,omitempty"` // AllowBranchToBranchTraffic - Flag to control transit for VirtualRouter hub. AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` // PreferredRoutingGateway - The preferred gateway to route on-prem traffic. Possible values include: 'PreferredRoutingGatewayExpressRoute', 'PreferredRoutingGatewayVpnGateway', 'PreferredRoutingGatewayNone' PreferredRoutingGateway PreferredRoutingGateway `json:"preferredRoutingGateway,omitempty"` // HubRoutingPreference - The hubRoutingPreference of this VirtualHub. Possible values include: 'HubRoutingPreferenceExpressRoute', 'HubRoutingPreferenceVpnGateway', 'HubRoutingPreferenceASPath' HubRoutingPreference HubRoutingPreference `json:"hubRoutingPreference,omitempty"` }
func (vhp VirtualHubProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualHubProperties.
VirtualHubRoute virtualHub route.
type VirtualHubRoute struct { // AddressPrefixes - List of all addressPrefixes. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` // NextHopIPAddress - NextHop ip address. NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` }
VirtualHubRouteTable virtualHub route table.
type VirtualHubRouteTable struct { // Routes - List of all routes. Routes *[]VirtualHubRoute `json:"routes,omitempty"` }
VirtualHubRouteTableV2 virtualHubRouteTableV2 Resource.
type VirtualHubRouteTableV2 struct { autorest.Response `json:"-"` // VirtualHubRouteTableV2Properties - Properties of the virtual hub route table v2. *VirtualHubRouteTableV2Properties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vhrtv VirtualHubRouteTableV2) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualHubRouteTableV2.
func (vhrtv *VirtualHubRouteTableV2) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualHubRouteTableV2 struct.
VirtualHubRouteTableV2Properties parameters for VirtualHubRouteTableV2.
type VirtualHubRouteTableV2Properties struct { // Routes - List of all routes. Routes *[]VirtualHubRouteV2 `json:"routes,omitempty"` // AttachedConnections - List of all connections attached to this route table v2. AttachedConnections *[]string `json:"attachedConnections,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual hub route table v2 resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vhrtvp VirtualHubRouteTableV2Properties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualHubRouteTableV2Properties.
VirtualHubRouteTableV2sClient is the network Client
type VirtualHubRouteTableV2sClient struct { BaseClient }
func NewVirtualHubRouteTableV2sClient(subscriptionID string) VirtualHubRouteTableV2sClient
NewVirtualHubRouteTableV2sClient creates an instance of the VirtualHubRouteTableV2sClient client.
func NewVirtualHubRouteTableV2sClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubRouteTableV2sClient
NewVirtualHubRouteTableV2sClientWithBaseURI creates an instance of the VirtualHubRouteTableV2sClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualHubRouteTableV2sClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, virtualHubRouteTableV2Parameters VirtualHubRouteTableV2) (result VirtualHubRouteTableV2sCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. routeTableName - the name of the VirtualHubRouteTableV2. virtualHubRouteTableV2Parameters - parameters supplied to create or update VirtualHubRouteTableV2.
func (client VirtualHubRouteTableV2sClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, virtualHubRouteTableV2Parameters VirtualHubRouteTableV2) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualHubRouteTableV2sClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualHubRouteTableV2, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualHubRouteTableV2sClient) CreateOrUpdateSender(req *http.Request) (future VirtualHubRouteTableV2sCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubRouteTableV2sClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (result VirtualHubRouteTableV2sDeleteFuture, err error)
Delete deletes a VirtualHubRouteTableV2. Parameters: resourceGroupName - the resource group name of the VirtualHubRouteTableV2. virtualHubName - the name of the VirtualHub. routeTableName - the name of the VirtualHubRouteTableV2.
func (client VirtualHubRouteTableV2sClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualHubRouteTableV2sClient) 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 VirtualHubRouteTableV2sClient) DeleteSender(req *http.Request) (future VirtualHubRouteTableV2sDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubRouteTableV2sClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (result VirtualHubRouteTableV2, err error)
Get retrieves the details of a VirtualHubRouteTableV2. Parameters: resourceGroupName - the resource group name of the VirtualHubRouteTableV2. virtualHubName - the name of the VirtualHub. routeTableName - the name of the VirtualHubRouteTableV2.
func (client VirtualHubRouteTableV2sClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualHubRouteTableV2sClient) GetResponder(resp *http.Response) (result VirtualHubRouteTableV2, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualHubRouteTableV2sClient) 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 VirtualHubRouteTableV2sClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubRouteTableV2sResultPage, err error)
List retrieves the details of all VirtualHubRouteTableV2s. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client VirtualHubRouteTableV2sClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListVirtualHubRouteTableV2sResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualHubRouteTableV2sClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualHubRouteTableV2sClient) ListResponder(resp *http.Response) (result ListVirtualHubRouteTableV2sResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualHubRouteTableV2sClient) 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.
VirtualHubRouteTableV2sCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubRouteTableV2sCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubRouteTableV2sClient) (VirtualHubRouteTableV2, error) }
func (future *VirtualHubRouteTableV2sCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubRouteTableV2sDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubRouteTableV2sDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubRouteTableV2sClient) (autorest.Response, error) }
func (future *VirtualHubRouteTableV2sDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubRouteV2 virtualHubRouteTableV2 route.
type VirtualHubRouteV2 struct { // DestinationType - The type of destinations. DestinationType *string `json:"destinationType,omitempty"` // Destinations - List of all destinations. Destinations *[]string `json:"destinations,omitempty"` // NextHopType - The type of next hops. NextHopType *string `json:"nextHopType,omitempty"` // NextHops - NextHops ip address. NextHops *[]string `json:"nextHops,omitempty"` }
VirtualHubsClient is the network Client
type VirtualHubsClient struct { BaseClient }
func NewVirtualHubsClient(subscriptionID string) VirtualHubsClient
NewVirtualHubsClient creates an instance of the VirtualHubsClient client.
func NewVirtualHubsClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubsClient
NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualHubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters VirtualHub) (result VirtualHubsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. virtualHubParameters - parameters supplied to create or update VirtualHub.
func (client VirtualHubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters VirtualHub) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualHubsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualHub, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualHubsClient) CreateOrUpdateSender(req *http.Request) (future VirtualHubsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubsClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string) (result VirtualHubsDeleteFuture, err error)
Delete deletes a VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client VirtualHubsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualHubsClient) 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 VirtualHubsClient) DeleteSender(req *http.Request) (future VirtualHubsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubsClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string) (result VirtualHub, err error)
Get retrieves the details of a VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.
func (client VirtualHubsClient) GetEffectiveVirtualHubRoutes(ctx context.Context, resourceGroupName string, virtualHubName string, effectiveRoutesParameters *EffectiveRoutesParameters) (result VirtualHubsGetEffectiveVirtualHubRoutesFuture, err error)
GetEffectiveVirtualHubRoutes gets the effective routes configured for the Virtual Hub resource or the specified resource . Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. effectiveRoutesParameters - parameters supplied to get the effective routes for a specific resource.
func (client VirtualHubsClient) GetEffectiveVirtualHubRoutesPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, effectiveRoutesParameters *EffectiveRoutesParameters) (*http.Request, error)
GetEffectiveVirtualHubRoutesPreparer prepares the GetEffectiveVirtualHubRoutes request.
func (client VirtualHubsClient) GetEffectiveVirtualHubRoutesResponder(resp *http.Response) (result autorest.Response, err error)
GetEffectiveVirtualHubRoutesResponder handles the response to the GetEffectiveVirtualHubRoutes request. The method always closes the http.Response Body.
func (client VirtualHubsClient) GetEffectiveVirtualHubRoutesSender(req *http.Request) (future VirtualHubsGetEffectiveVirtualHubRoutesFuture, err error)
GetEffectiveVirtualHubRoutesSender sends the GetEffectiveVirtualHubRoutes request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualHubsClient) GetResponder(resp *http.Response) (result VirtualHub, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualHubsClient) 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 VirtualHubsClient) List(ctx context.Context) (result ListVirtualHubsResultPage, err error)
List lists all the VirtualHubs in a subscription.
func (client VirtualHubsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVirtualHubsResultPage, err error)
ListByResourceGroup lists all the VirtualHubs in a resource group. Parameters: resourceGroupName - the resource group name of the VirtualHub.
func (client VirtualHubsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVirtualHubsResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualHubsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VirtualHubsClient) ListByResourceGroupResponder(resp *http.Response) (result ListVirtualHubsResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VirtualHubsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VirtualHubsClient) ListComplete(ctx context.Context) (result ListVirtualHubsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualHubsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualHubsClient) ListResponder(resp *http.Response) (result ListVirtualHubsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualHubsClient) 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.
func (client VirtualHubsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters TagsObject) (result VirtualHub, err error)
UpdateTags updates VirtualHub tags. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. virtualHubParameters - parameters supplied to update VirtualHub tags.
func (client VirtualHubsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualHubsClient) UpdateTagsResponder(resp *http.Response) (result VirtualHub, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualHubsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualHubsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubsClient) (VirtualHub, error) }
func (future *VirtualHubsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubsClient) (autorest.Response, error) }
func (future *VirtualHubsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualHubsGetEffectiveVirtualHubRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualHubsGetEffectiveVirtualHubRoutesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualHubsClient) (autorest.Response, error) }
func (future *VirtualHubsGetEffectiveVirtualHubRoutesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetwork virtual Network resource.
type VirtualNetwork struct { autorest.Response `json:"-"` // ExtendedLocation - The extended location of the virtual network. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // VirtualNetworkPropertiesFormat - Properties of the virtual network. *VirtualNetworkPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vn VirtualNetwork) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetwork.
func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.
VirtualNetworkBgpCommunities bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
type VirtualNetworkBgpCommunities struct { // VirtualNetworkCommunity - The BGP community associated with the virtual network. VirtualNetworkCommunity *string `json:"virtualNetworkCommunity,omitempty"` // RegionalCommunity - READ-ONLY; The BGP community associated with the region of the virtual network. RegionalCommunity *string `json:"regionalCommunity,omitempty"` }
func (vnbc VirtualNetworkBgpCommunities) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkBgpCommunities.
VirtualNetworkConnectionGatewayReference a reference to VirtualNetworkGateway or LocalNetworkGateway resource.
type VirtualNetworkConnectionGatewayReference struct { // ID - The ID of VirtualNetworkGateway or LocalNetworkGateway resource. ID *string `json:"id,omitempty"` }
VirtualNetworkEncryption indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
type VirtualNetworkEncryption struct { // Enabled - Indicates if encryption is enabled on the virtual network. Enabled *bool `json:"enabled,omitempty"` // Enforcement - If the encrypted VNet allows VM that does not support encryption. Possible values include: 'VirtualNetworkEncryptionEnforcementDropUnencrypted', 'VirtualNetworkEncryptionEnforcementAllowUnencrypted' Enforcement VirtualNetworkEncryptionEnforcement `json:"enforcement,omitempty"` }
VirtualNetworkEncryptionEnforcement enumerates the values for virtual network encryption enforcement.
type VirtualNetworkEncryptionEnforcement string
const ( // VirtualNetworkEncryptionEnforcementAllowUnencrypted ... VirtualNetworkEncryptionEnforcementAllowUnencrypted VirtualNetworkEncryptionEnforcement = "AllowUnencrypted" // VirtualNetworkEncryptionEnforcementDropUnencrypted ... VirtualNetworkEncryptionEnforcementDropUnencrypted VirtualNetworkEncryptionEnforcement = "DropUnencrypted" )
func PossibleVirtualNetworkEncryptionEnforcementValues() []VirtualNetworkEncryptionEnforcement
PossibleVirtualNetworkEncryptionEnforcementValues returns an array of possible values for the VirtualNetworkEncryptionEnforcement const type.
VirtualNetworkGateway a common class for general resource information.
type VirtualNetworkGateway struct { autorest.Response `json:"-"` // VirtualNetworkGatewayPropertiesFormat - Properties of the virtual network gateway. *VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"` // ExtendedLocation - The extended location of type local virtual network gateway. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vng VirtualNetworkGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGateway.
func (vng *VirtualNetworkGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGateway struct.
VirtualNetworkGatewayConnection a common class for general resource information.
type VirtualNetworkGatewayConnection struct { autorest.Response `json:"-"` // VirtualNetworkGatewayConnectionPropertiesFormat - Properties of the virtual network gateway connection. *VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vngc VirtualNetworkGatewayConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnection.
func (vngc *VirtualNetworkGatewayConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayConnection struct.
VirtualNetworkGatewayConnectionListEntity a common class for general resource information.
type VirtualNetworkGatewayConnectionListEntity struct { // VirtualNetworkGatewayConnectionListEntityPropertiesFormat - Properties of the virtual network gateway connection. *VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vngcle VirtualNetworkGatewayConnectionListEntity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListEntity.
func (vngcle *VirtualNetworkGatewayConnectionListEntity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayConnectionListEntity struct.
VirtualNetworkGatewayConnectionListEntityPropertiesFormat virtualNetworkGatewayConnection properties.
type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct { // AuthorizationKey - The authorizationKey. AuthorizationKey *string `json:"authorizationKey,omitempty"` // VirtualNetworkGateway1 - The reference to virtual network gateway resource. VirtualNetworkGateway1 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway1,omitempty"` // VirtualNetworkGateway2 - The reference to virtual network gateway resource. VirtualNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway2,omitempty"` // LocalNetworkGateway2 - The reference to local network gateway resource. LocalNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"localNetworkGateway2,omitempty"` // ConnectionType - Gateway connection type. Possible values include: 'VirtualNetworkGatewayConnectionTypeIPsec', 'VirtualNetworkGatewayConnectionTypeVnet2Vnet', 'VirtualNetworkGatewayConnectionTypeExpressRoute', 'VirtualNetworkGatewayConnectionTypeVPNClient' ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"` // ConnectionProtocol - Connection protocol used for this connection. Possible values include: 'VirtualNetworkGatewayConnectionProtocolIKEv2', 'VirtualNetworkGatewayConnectionProtocolIKEv1' ConnectionProtocol VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"` // RoutingWeight - The routing weight. RoutingWeight *int32 `json:"routingWeight,omitempty"` // ConnectionMode - The connection mode for this connection. Possible values include: 'VirtualNetworkGatewayConnectionModeDefault', 'VirtualNetworkGatewayConnectionModeResponderOnly', 'VirtualNetworkGatewayConnectionModeInitiatorOnly' ConnectionMode VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"` // SharedKey - The IPSec shared key. SharedKey *string `json:"sharedKey,omitempty"` // ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected' ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` // TunnelConnectionStatus - READ-ONLY; Collection of all tunnels' connection health status. TunnelConnectionStatus *[]TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty"` // EgressBytesTransferred - READ-ONLY; The egress bytes transferred in this connection. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // IngressBytesTransferred - READ-ONLY; The ingress bytes transferred in this connection. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // Peer - The reference to peerings resource. Peer *SubResource `json:"peer,omitempty"` // EnableBgp - EnableBgp flag. EnableBgp *bool `json:"enableBgp,omitempty"` // GatewayCustomBgpIPAddresses - GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. GatewayCustomBgpIPAddresses *[]GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"` // UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors. UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` // IpsecPolicies - The IPSec Policies to be considered by this connection. IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"` // TrafficSelectorPolicies - The Traffic Selector Policies to be considered by this connection. TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the virtual network gateway connection resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ExpressRouteGatewayBypass - Bypass ExpressRoute Gateway for data forwarding. ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` }
func (vngclepf VirtualNetworkGatewayConnectionListEntityPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListEntityPropertiesFormat.
VirtualNetworkGatewayConnectionListResult response for the ListVirtualNetworkGatewayConnections API service call.
type VirtualNetworkGatewayConnectionListResult struct { autorest.Response `json:"-"` // Value - A list of VirtualNetworkGatewayConnection resources that exists in a resource group. Value *[]VirtualNetworkGatewayConnection `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vngclr VirtualNetworkGatewayConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (vngclr VirtualNetworkGatewayConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListResult.
VirtualNetworkGatewayConnectionListResultIterator provides access to a complete listing of VirtualNetworkGatewayConnection values.
type VirtualNetworkGatewayConnectionListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayConnectionListResultIterator(page VirtualNetworkGatewayConnectionListResultPage) VirtualNetworkGatewayConnectionListResultIterator
Creates a new instance of the VirtualNetworkGatewayConnectionListResultIterator type.
func (iter *VirtualNetworkGatewayConnectionListResultIterator) 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 *VirtualNetworkGatewayConnectionListResultIterator) 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 VirtualNetworkGatewayConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkGatewayConnectionListResultIterator) Response() VirtualNetworkGatewayConnectionListResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkGatewayConnectionListResultIterator) Value() VirtualNetworkGatewayConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkGatewayConnectionListResultPage contains a page of VirtualNetworkGatewayConnection values.
type VirtualNetworkGatewayConnectionListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayConnectionListResultPage(cur VirtualNetworkGatewayConnectionListResult, getNextPage func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error)) VirtualNetworkGatewayConnectionListResultPage
Creates a new instance of the VirtualNetworkGatewayConnectionListResultPage type.
func (page *VirtualNetworkGatewayConnectionListResultPage) 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 *VirtualNetworkGatewayConnectionListResultPage) 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 VirtualNetworkGatewayConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkGatewayConnectionListResultPage) Response() VirtualNetworkGatewayConnectionListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkGatewayConnectionListResultPage) Values() []VirtualNetworkGatewayConnection
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkGatewayConnectionMode enumerates the values for virtual network gateway connection mode.
type VirtualNetworkGatewayConnectionMode string
const ( // VirtualNetworkGatewayConnectionModeDefault ... VirtualNetworkGatewayConnectionModeDefault VirtualNetworkGatewayConnectionMode = "Default" // VirtualNetworkGatewayConnectionModeInitiatorOnly ... VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly" // VirtualNetworkGatewayConnectionModeResponderOnly ... VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly" )
func PossibleVirtualNetworkGatewayConnectionModeValues() []VirtualNetworkGatewayConnectionMode
PossibleVirtualNetworkGatewayConnectionModeValues returns an array of possible values for the VirtualNetworkGatewayConnectionMode const type.
VirtualNetworkGatewayConnectionPropertiesFormat virtualNetworkGatewayConnection properties.
type VirtualNetworkGatewayConnectionPropertiesFormat struct { // AuthorizationKey - The authorizationKey. AuthorizationKey *string `json:"authorizationKey,omitempty"` // VirtualNetworkGateway1 - The reference to virtual network gateway resource. VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"` // VirtualNetworkGateway2 - The reference to virtual network gateway resource. VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"` // LocalNetworkGateway2 - The reference to local network gateway resource. LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"` // IngressNatRules - List of ingress NatRules. IngressNatRules *[]SubResource `json:"ingressNatRules,omitempty"` // EgressNatRules - List of egress NatRules. EgressNatRules *[]SubResource `json:"egressNatRules,omitempty"` // ConnectionType - Gateway connection type. Possible values include: 'VirtualNetworkGatewayConnectionTypeIPsec', 'VirtualNetworkGatewayConnectionTypeVnet2Vnet', 'VirtualNetworkGatewayConnectionTypeExpressRoute', 'VirtualNetworkGatewayConnectionTypeVPNClient' ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"` // ConnectionProtocol - Connection protocol used for this connection. Possible values include: 'VirtualNetworkGatewayConnectionProtocolIKEv2', 'VirtualNetworkGatewayConnectionProtocolIKEv1' ConnectionProtocol VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"` // RoutingWeight - The routing weight. RoutingWeight *int32 `json:"routingWeight,omitempty"` // DpdTimeoutSeconds - The dead peer detection timeout of this connection in seconds. DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"` // ConnectionMode - The connection mode for this connection. Possible values include: 'VirtualNetworkGatewayConnectionModeDefault', 'VirtualNetworkGatewayConnectionModeResponderOnly', 'VirtualNetworkGatewayConnectionModeInitiatorOnly' ConnectionMode VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"` // SharedKey - The IPSec shared key. SharedKey *string `json:"sharedKey,omitempty"` // ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected' ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` // TunnelConnectionStatus - READ-ONLY; Collection of all tunnels' connection health status. TunnelConnectionStatus *[]TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty"` // EgressBytesTransferred - READ-ONLY; The egress bytes transferred in this connection. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // IngressBytesTransferred - READ-ONLY; The ingress bytes transferred in this connection. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // Peer - The reference to peerings resource. Peer *SubResource `json:"peer,omitempty"` // EnableBgp - EnableBgp flag. EnableBgp *bool `json:"enableBgp,omitempty"` // GatewayCustomBgpIPAddresses - GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. GatewayCustomBgpIPAddresses *[]GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"` // UseLocalAzureIPAddress - Use private local Azure IP for the connection. UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` // UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors. UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` // IpsecPolicies - The IPSec Policies to be considered by this connection. IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"` // TrafficSelectorPolicies - The Traffic Selector Policies to be considered by this connection. TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the virtual network gateway connection resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ExpressRouteGatewayBypass - Bypass ExpressRoute Gateway for data forwarding. ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` }
func (vngcpf VirtualNetworkGatewayConnectionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionPropertiesFormat.
VirtualNetworkGatewayConnectionProtocol enumerates the values for virtual network gateway connection protocol.
type VirtualNetworkGatewayConnectionProtocol string
const ( // VirtualNetworkGatewayConnectionProtocolIKEv1 ... VirtualNetworkGatewayConnectionProtocolIKEv1 VirtualNetworkGatewayConnectionProtocol = "IKEv1" // VirtualNetworkGatewayConnectionProtocolIKEv2 ... VirtualNetworkGatewayConnectionProtocolIKEv2 VirtualNetworkGatewayConnectionProtocol = "IKEv2" )
func PossibleVirtualNetworkGatewayConnectionProtocolValues() []VirtualNetworkGatewayConnectionProtocol
PossibleVirtualNetworkGatewayConnectionProtocolValues returns an array of possible values for the VirtualNetworkGatewayConnectionProtocol const type.
VirtualNetworkGatewayConnectionStatus enumerates the values for virtual network gateway connection status.
type VirtualNetworkGatewayConnectionStatus string
const ( // VirtualNetworkGatewayConnectionStatusConnected ... VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected" // VirtualNetworkGatewayConnectionStatusConnecting ... VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting" // VirtualNetworkGatewayConnectionStatusNotConnected ... VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected" // VirtualNetworkGatewayConnectionStatusUnknown ... VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown" )
func PossibleVirtualNetworkGatewayConnectionStatusValues() []VirtualNetworkGatewayConnectionStatus
PossibleVirtualNetworkGatewayConnectionStatusValues returns an array of possible values for the VirtualNetworkGatewayConnectionStatus const type.
VirtualNetworkGatewayConnectionType enumerates the values for virtual network gateway connection type.
type VirtualNetworkGatewayConnectionType string
const ( // VirtualNetworkGatewayConnectionTypeExpressRoute ... VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute" // VirtualNetworkGatewayConnectionTypeIPsec ... VirtualNetworkGatewayConnectionTypeIPsec VirtualNetworkGatewayConnectionType = "IPsec" // VirtualNetworkGatewayConnectionTypeVnet2Vnet ... VirtualNetworkGatewayConnectionTypeVnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet" // VirtualNetworkGatewayConnectionTypeVPNClient ... VirtualNetworkGatewayConnectionTypeVPNClient VirtualNetworkGatewayConnectionType = "VPNClient" )
func PossibleVirtualNetworkGatewayConnectionTypeValues() []VirtualNetworkGatewayConnectionType
PossibleVirtualNetworkGatewayConnectionTypeValues returns an array of possible values for the VirtualNetworkGatewayConnectionType const type.
VirtualNetworkGatewayConnectionsClient is the network Client
type VirtualNetworkGatewayConnectionsClient struct { BaseClient }
func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient
NewVirtualNetworkGatewayConnectionsClient creates an instance of the VirtualNetworkGatewayConnectionsClient client.
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient
NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the VirtualNetworkGatewayConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (result VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - parameters supplied to the create or update virtual network gateway connection operation.
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsDeleteFuture, err error)
Delete deletes the specified virtual network Gateway connection. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.
func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworkGatewayConnectionsClient) 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 VirtualNetworkGatewayConnectionsClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewayConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error)
Get gets the specified virtual network gateway connection by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.
func (client VirtualNetworkGatewayConnectionsClient) GetIkeSas(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsGetIkeSasFuture, err error)
GetIkeSas lists IKE Security Associations for the virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway Connection.
func (client VirtualNetworkGatewayConnectionsClient) GetIkeSasPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
GetIkeSasPreparer prepares the GetIkeSas request.
func (client VirtualNetworkGatewayConnectionsClient) GetIkeSasResponder(resp *http.Response) (result String, err error)
GetIkeSasResponder handles the response to the GetIkeSas request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) GetIkeSasSender(req *http.Request) (future VirtualNetworkGatewayConnectionsGetIkeSasFuture, err error)
GetIkeSasSender sends the GetIkeSas request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworkGatewayConnectionsClient) GetResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) 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 VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result ConnectionSharedKey, err error)
GetSharedKey the Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection shared key name.
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
GetSharedKeyPreparer prepares the GetSharedKey request.
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)
GetSharedKeyResponder handles the response to the GetSharedKey request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeySender(req *http.Request) (*http.Response, error)
GetSharedKeySender sends the GetSharedKey request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultPage, err error)
List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualNetworkGatewayConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualNetworkGatewayConnectionsClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) 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.
func (client VirtualNetworkGatewayConnectionsClient) ResetConnection(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsResetConnectionFuture, err error)
ResetConnection resets the virtual network gateway connection specified. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway Connection.
func (client VirtualNetworkGatewayConnectionsClient) ResetConnectionPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
ResetConnectionPreparer prepares the ResetConnection request.
func (client VirtualNetworkGatewayConnectionsClient) ResetConnectionResponder(resp *http.Response) (result autorest.Response, err error)
ResetConnectionResponder handles the response to the ResetConnection request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) ResetConnectionSender(req *http.Request) (future VirtualNetworkGatewayConnectionsResetConnectionFuture, err error)
ResetConnectionSender sends the ResetConnection request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (result VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection reset shared key Name. parameters - parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (*http.Request, error)
ResetSharedKeyPreparer prepares the ResetSharedKey request.
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(resp *http.Response) (result ConnectionResetSharedKey, err error)
ResetSharedKeyResponder handles the response to the ResetSharedKey request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
ResetSharedKeySender sends the ResetSharedKey request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (result VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection name. parameters - parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (*http.Request, error)
SetSharedKeyPreparer prepares the SetSharedKey request.
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)
SetSharedKeyResponder handles the response to the SetSharedKey request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
SetSharedKeySender sends the SetSharedKey request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) StartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters *VpnPacketCaptureStartParameters) (result VirtualNetworkGatewayConnectionsStartPacketCaptureFuture, err error)
StartPacketCapture starts packet capture on virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
func (client VirtualNetworkGatewayConnectionsClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters *VpnPacketCaptureStartParameters) (*http.Request, error)
StartPacketCapturePreparer prepares the StartPacketCapture request.
func (client VirtualNetworkGatewayConnectionsClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)
StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) StartPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewayConnectionsStartPacketCaptureFuture, err error)
StartPacketCaptureSender sends the StartPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) StopPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnPacketCaptureStopParameters) (result VirtualNetworkGatewayConnectionsStopPacketCaptureFuture, err error)
StopPacketCapture stops packet capture on virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway Connection. parameters - virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
func (client VirtualNetworkGatewayConnectionsClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnPacketCaptureStopParameters) (*http.Request, error)
StopPacketCapturePreparer prepares the StopPacketCapture request.
func (client VirtualNetworkGatewayConnectionsClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)
StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) StopPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewayConnectionsStopPacketCaptureFuture, err error)
StopPacketCaptureSender sends the StopPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject) (result VirtualNetworkGatewayConnectionsUpdateTagsFuture, err error)
UpdateTags updates a virtual network gateway connection tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - parameters supplied to update virtual network gateway connection tags.
func (client VirtualNetworkGatewayConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualNetworkGatewayConnectionsClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayConnectionsClient) UpdateTagsSender(req *http.Request) (future VirtualNetworkGatewayConnectionsUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualNetworkGatewayConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (VirtualNetworkGatewayConnection, error) }
func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewayConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsGetIkeSasFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsGetIkeSasFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (String, error) }
func (future *VirtualNetworkGatewayConnectionsGetIkeSasFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsResetConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsResetConnectionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewayConnectionsResetConnectionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsResetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsResetSharedKeyFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (ConnectionResetSharedKey, error) }
func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsSetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsSetSharedKeyFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (ConnectionSharedKey, error) }
func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsStartPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (String, error) }
func (future *VirtualNetworkGatewayConnectionsStartPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsStopPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (String, error) }
func (future *VirtualNetworkGatewayConnectionsStopPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayConnectionsUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayConnectionsClient) (VirtualNetworkGatewayConnection, error) }
func (future *VirtualNetworkGatewayConnectionsUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayIPConfiguration IP configuration for virtual network gateway.
type VirtualNetworkGatewayIPConfiguration struct { // VirtualNetworkGatewayIPConfigurationPropertiesFormat - Properties of the virtual network gateway ip configuration. *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vngic VirtualNetworkGatewayIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayIPConfiguration.
func (vngic *VirtualNetworkGatewayIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayIPConfiguration struct.
VirtualNetworkGatewayIPConfigurationPropertiesFormat properties of VirtualNetworkGatewayIPConfiguration.
type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct { // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - The reference to the subnet resource. Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - The reference to the public IP resource. PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // PrivateIPAddress - READ-ONLY; Private IP Address for this gateway. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway IP configuration resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vngicpf VirtualNetworkGatewayIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayIPConfigurationPropertiesFormat.
VirtualNetworkGatewayListConnectionsResult response for the VirtualNetworkGatewayListConnections API service call.
type VirtualNetworkGatewayListConnectionsResult struct { autorest.Response `json:"-"` // Value - A list of VirtualNetworkGatewayConnection resources that exists in a resource group. Value *[]VirtualNetworkGatewayConnectionListEntity `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vnglcr VirtualNetworkGatewayListConnectionsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (vnglcr VirtualNetworkGatewayListConnectionsResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayListConnectionsResult.
VirtualNetworkGatewayListConnectionsResultIterator provides access to a complete listing of VirtualNetworkGatewayConnectionListEntity values.
type VirtualNetworkGatewayListConnectionsResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayListConnectionsResultIterator(page VirtualNetworkGatewayListConnectionsResultPage) VirtualNetworkGatewayListConnectionsResultIterator
Creates a new instance of the VirtualNetworkGatewayListConnectionsResultIterator type.
func (iter *VirtualNetworkGatewayListConnectionsResultIterator) 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 *VirtualNetworkGatewayListConnectionsResultIterator) 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 VirtualNetworkGatewayListConnectionsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkGatewayListConnectionsResultIterator) Response() VirtualNetworkGatewayListConnectionsResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkGatewayListConnectionsResultIterator) Value() VirtualNetworkGatewayConnectionListEntity
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkGatewayListConnectionsResultPage contains a page of VirtualNetworkGatewayConnectionListEntity values.
type VirtualNetworkGatewayListConnectionsResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayListConnectionsResultPage(cur VirtualNetworkGatewayListConnectionsResult, getNextPage func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error)) VirtualNetworkGatewayListConnectionsResultPage
Creates a new instance of the VirtualNetworkGatewayListConnectionsResultPage type.
func (page *VirtualNetworkGatewayListConnectionsResultPage) 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 *VirtualNetworkGatewayListConnectionsResultPage) 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 VirtualNetworkGatewayListConnectionsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkGatewayListConnectionsResultPage) Response() VirtualNetworkGatewayListConnectionsResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkGatewayListConnectionsResultPage) Values() []VirtualNetworkGatewayConnectionListEntity
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkGatewayListResult response for the ListVirtualNetworkGateways API service call.
type VirtualNetworkGatewayListResult struct { autorest.Response `json:"-"` // Value - A list of VirtualNetworkGateway resources that exists in a resource group. Value *[]VirtualNetworkGateway `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vnglr VirtualNetworkGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (vnglr VirtualNetworkGatewayListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayListResult.
VirtualNetworkGatewayListResultIterator provides access to a complete listing of VirtualNetworkGateway values.
type VirtualNetworkGatewayListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayListResultIterator(page VirtualNetworkGatewayListResultPage) VirtualNetworkGatewayListResultIterator
Creates a new instance of the VirtualNetworkGatewayListResultIterator type.
func (iter *VirtualNetworkGatewayListResultIterator) 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 *VirtualNetworkGatewayListResultIterator) 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 VirtualNetworkGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkGatewayListResultIterator) Response() VirtualNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkGatewayListResultIterator) Value() VirtualNetworkGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkGatewayListResultPage contains a page of VirtualNetworkGateway values.
type VirtualNetworkGatewayListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkGatewayListResultPage(cur VirtualNetworkGatewayListResult, getNextPage func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error)) VirtualNetworkGatewayListResultPage
Creates a new instance of the VirtualNetworkGatewayListResultPage type.
func (page *VirtualNetworkGatewayListResultPage) 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 *VirtualNetworkGatewayListResultPage) 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 VirtualNetworkGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkGatewayListResultPage) Response() VirtualNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkGatewayListResultPage) Values() []VirtualNetworkGateway
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkGatewayNatRule virtualNetworkGatewayNatRule Resource.
type VirtualNetworkGatewayNatRule struct { autorest.Response `json:"-"` // VirtualNetworkGatewayNatRuleProperties - Properties of the Virtual Network Gateway NAT rule. *VirtualNetworkGatewayNatRuleProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vngnr VirtualNetworkGatewayNatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayNatRule.
func (vngnr *VirtualNetworkGatewayNatRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayNatRule struct.
VirtualNetworkGatewayNatRuleProperties parameters for VirtualNetworkGatewayNatRule.
type VirtualNetworkGatewayNatRuleProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the NAT Rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Type - The type of NAT rule for VPN NAT. Possible values include: 'VpnNatRuleTypeStatic', 'VpnNatRuleTypeDynamic' Type VpnNatRuleType `json:"type,omitempty"` // Mode - The Source NAT direction of a VPN NAT. Possible values include: 'VpnNatRuleModeEgressSnat', 'VpnNatRuleModeIngressSnat' Mode VpnNatRuleMode `json:"mode,omitempty"` // InternalMappings - The private IP address internal mapping for NAT. InternalMappings *[]VpnNatRuleMapping `json:"internalMappings,omitempty"` // ExternalMappings - The private IP address external mapping for NAT. ExternalMappings *[]VpnNatRuleMapping `json:"externalMappings,omitempty"` // IPConfigurationID - The IP Configuration ID this NAT rule applies to. IPConfigurationID *string `json:"ipConfigurationId,omitempty"` }
func (vngnrp VirtualNetworkGatewayNatRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayNatRuleProperties.
VirtualNetworkGatewayNatRulesClient is the network Client
type VirtualNetworkGatewayNatRulesClient struct { BaseClient }
func NewVirtualNetworkGatewayNatRulesClient(subscriptionID string) VirtualNetworkGatewayNatRulesClient
NewVirtualNetworkGatewayNatRulesClient creates an instance of the VirtualNetworkGatewayNatRulesClient client.
func NewVirtualNetworkGatewayNatRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayNatRulesClient
NewVirtualNetworkGatewayNatRulesClientWithBaseURI creates an instance of the VirtualNetworkGatewayNatRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworkGatewayNatRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string, natRuleParameters VirtualNetworkGatewayNatRule) (result VirtualNetworkGatewayNatRulesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. Parameters: resourceGroupName - the resource group name of the Virtual Network Gateway. virtualNetworkGatewayName - the name of the gateway. natRuleName - the name of the nat rule. natRuleParameters - parameters supplied to create or Update a Nat Rule.
func (client VirtualNetworkGatewayNatRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string, natRuleParameters VirtualNetworkGatewayNatRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworkGatewayNatRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGatewayNatRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayNatRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewayNatRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayNatRulesClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string) (result VirtualNetworkGatewayNatRulesDeleteFuture, err error)
Delete deletes a nat rule. Parameters: resourceGroupName - the resource group name of the Virtual Network Gateway. virtualNetworkGatewayName - the name of the gateway. natRuleName - the name of the nat rule.
func (client VirtualNetworkGatewayNatRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworkGatewayNatRulesClient) 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 VirtualNetworkGatewayNatRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewayNatRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewayNatRulesClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string) (result VirtualNetworkGatewayNatRule, err error)
Get retrieves the details of a nat rule. Parameters: resourceGroupName - the resource group name of the Virtual Network Gateway. virtualNetworkGatewayName - the name of the gateway. natRuleName - the name of the nat rule.
func (client VirtualNetworkGatewayNatRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworkGatewayNatRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkGatewayNatRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayNatRulesClient) 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 VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGateway(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result ListVirtualNetworkGatewayNatRulesResultPage, err error)
ListByVirtualNetworkGateway retrieves all nat rules for a particular virtual network gateway. Parameters: resourceGroupName - the resource group name of the virtual network gateway. virtualNetworkGatewayName - the name of the gateway.
func (client VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGatewayComplete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result ListVirtualNetworkGatewayNatRulesResultIterator, err error)
ListByVirtualNetworkGatewayComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGatewayPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
ListByVirtualNetworkGatewayPreparer prepares the ListByVirtualNetworkGateway request.
func (client VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGatewayResponder(resp *http.Response) (result ListVirtualNetworkGatewayNatRulesResult, err error)
ListByVirtualNetworkGatewayResponder handles the response to the ListByVirtualNetworkGateway request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGatewaySender(req *http.Request) (*http.Response, error)
ListByVirtualNetworkGatewaySender sends the ListByVirtualNetworkGateway request. The method will close the http.Response Body if it receives an error.
VirtualNetworkGatewayNatRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayNatRulesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayNatRulesClient) (VirtualNetworkGatewayNatRule, error) }
func (future *VirtualNetworkGatewayNatRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayNatRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewayNatRulesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewayNatRulesClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewayNatRulesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewayPropertiesFormat virtualNetworkGateway properties.
type VirtualNetworkGatewayPropertiesFormat struct { // IPConfigurations - IP configurations for virtual network gateway. IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` // GatewayType - The type of this virtual network gateway. Possible values include: 'VirtualNetworkGatewayTypeVpn', 'VirtualNetworkGatewayTypeExpressRoute', 'VirtualNetworkGatewayTypeLocalGateway' GatewayType VirtualNetworkGatewayType `json:"gatewayType,omitempty"` // VpnType - The type of this virtual network gateway. Possible values include: 'VpnTypePolicyBased', 'VpnTypeRouteBased' VpnType VpnType `json:"vpnType,omitempty"` // VpnGatewayGeneration - The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: 'VpnGatewayGenerationNone', 'VpnGatewayGenerationGeneration1', 'VpnGatewayGenerationGeneration2' VpnGatewayGeneration VpnGatewayGeneration `json:"vpnGatewayGeneration,omitempty"` // EnableBgp - Whether BGP is enabled for this virtual network gateway or not. EnableBgp *bool `json:"enableBgp,omitempty"` // EnablePrivateIPAddress - Whether private IP needs to be enabled on this gateway for connections or not. EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"` // ActiveActive - ActiveActive flag. ActiveActive *bool `json:"activeActive,omitempty"` // DisableIPSecReplayProtection - disableIPSecReplayProtection flag. DisableIPSecReplayProtection *bool `json:"disableIPSecReplayProtection,omitempty"` // GatewayDefaultSite - The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` // Sku - The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"` // VpnClientConfiguration - The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations. VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"` // BgpSettings - Virtual network gateway's BGP speaker settings. BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` // CustomRoutes - The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient. CustomRoutes *AddressSpace `json:"customRoutes,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the virtual network gateway resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // EnableDNSForwarding - Whether dns forwarding is enabled or not. EnableDNSForwarding *bool `json:"enableDnsForwarding,omitempty"` // InboundDNSForwardingEndpoint - READ-ONLY; The IP address allocated by the gateway to which dns requests can be sent. InboundDNSForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty"` // VNetExtendedLocationResourceID - Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. VNetExtendedLocationResourceID *string `json:"vNetExtendedLocationResourceId,omitempty"` // NatRules - NatRules for virtual network gateway. NatRules *[]VirtualNetworkGatewayNatRule `json:"natRules,omitempty"` // EnableBgpRouteTranslationForNat - EnableBgpRouteTranslationForNat flag. EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` }
func (vngpf VirtualNetworkGatewayPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayPropertiesFormat.
VirtualNetworkGatewaySku virtualNetworkGatewaySku details.
type VirtualNetworkGatewaySku struct { // Name - Gateway SKU name. Possible values include: 'VirtualNetworkGatewaySkuNameBasic', 'VirtualNetworkGatewaySkuNameHighPerformance', 'VirtualNetworkGatewaySkuNameStandard', 'VirtualNetworkGatewaySkuNameUltraPerformance', 'VirtualNetworkGatewaySkuNameVpnGw1', 'VirtualNetworkGatewaySkuNameVpnGw2', 'VirtualNetworkGatewaySkuNameVpnGw3', 'VirtualNetworkGatewaySkuNameVpnGw4', 'VirtualNetworkGatewaySkuNameVpnGw5', 'VirtualNetworkGatewaySkuNameVpnGw1AZ', 'VirtualNetworkGatewaySkuNameVpnGw2AZ', 'VirtualNetworkGatewaySkuNameVpnGw3AZ', 'VirtualNetworkGatewaySkuNameVpnGw4AZ', 'VirtualNetworkGatewaySkuNameVpnGw5AZ', 'VirtualNetworkGatewaySkuNameErGw1AZ', 'VirtualNetworkGatewaySkuNameErGw2AZ', 'VirtualNetworkGatewaySkuNameErGw3AZ' Name VirtualNetworkGatewaySkuName `json:"name,omitempty"` // Tier - Gateway SKU tier. Possible values include: 'VirtualNetworkGatewaySkuTierBasic', 'VirtualNetworkGatewaySkuTierHighPerformance', 'VirtualNetworkGatewaySkuTierStandard', 'VirtualNetworkGatewaySkuTierUltraPerformance', 'VirtualNetworkGatewaySkuTierVpnGw1', 'VirtualNetworkGatewaySkuTierVpnGw2', 'VirtualNetworkGatewaySkuTierVpnGw3', 'VirtualNetworkGatewaySkuTierVpnGw4', 'VirtualNetworkGatewaySkuTierVpnGw5', 'VirtualNetworkGatewaySkuTierVpnGw1AZ', 'VirtualNetworkGatewaySkuTierVpnGw2AZ', 'VirtualNetworkGatewaySkuTierVpnGw3AZ', 'VirtualNetworkGatewaySkuTierVpnGw4AZ', 'VirtualNetworkGatewaySkuTierVpnGw5AZ', 'VirtualNetworkGatewaySkuTierErGw1AZ', 'VirtualNetworkGatewaySkuTierErGw2AZ', 'VirtualNetworkGatewaySkuTierErGw3AZ' Tier VirtualNetworkGatewaySkuTier `json:"tier,omitempty"` // Capacity - READ-ONLY; The capacity. Capacity *int32 `json:"capacity,omitempty"` }
func (vngs VirtualNetworkGatewaySku) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewaySku.
VirtualNetworkGatewaySkuName enumerates the values for virtual network gateway sku name.
type VirtualNetworkGatewaySkuName string
const ( // VirtualNetworkGatewaySkuNameBasic ... VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic" // VirtualNetworkGatewaySkuNameErGw1AZ ... VirtualNetworkGatewaySkuNameErGw1AZ VirtualNetworkGatewaySkuName = "ErGw1AZ" // VirtualNetworkGatewaySkuNameErGw2AZ ... VirtualNetworkGatewaySkuNameErGw2AZ VirtualNetworkGatewaySkuName = "ErGw2AZ" // VirtualNetworkGatewaySkuNameErGw3AZ ... VirtualNetworkGatewaySkuNameErGw3AZ VirtualNetworkGatewaySkuName = "ErGw3AZ" // VirtualNetworkGatewaySkuNameHighPerformance ... VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance" // VirtualNetworkGatewaySkuNameStandard ... VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard" // VirtualNetworkGatewaySkuNameUltraPerformance ... VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance" // VirtualNetworkGatewaySkuNameVpnGw1 ... VirtualNetworkGatewaySkuNameVpnGw1 VirtualNetworkGatewaySkuName = "VpnGw1" // VirtualNetworkGatewaySkuNameVpnGw1AZ ... VirtualNetworkGatewaySkuNameVpnGw1AZ VirtualNetworkGatewaySkuName = "VpnGw1AZ" // VirtualNetworkGatewaySkuNameVpnGw2 ... VirtualNetworkGatewaySkuNameVpnGw2 VirtualNetworkGatewaySkuName = "VpnGw2" // VirtualNetworkGatewaySkuNameVpnGw2AZ ... VirtualNetworkGatewaySkuNameVpnGw2AZ VirtualNetworkGatewaySkuName = "VpnGw2AZ" // VirtualNetworkGatewaySkuNameVpnGw3 ... VirtualNetworkGatewaySkuNameVpnGw3 VirtualNetworkGatewaySkuName = "VpnGw3" // VirtualNetworkGatewaySkuNameVpnGw3AZ ... VirtualNetworkGatewaySkuNameVpnGw3AZ VirtualNetworkGatewaySkuName = "VpnGw3AZ" // VirtualNetworkGatewaySkuNameVpnGw4 ... VirtualNetworkGatewaySkuNameVpnGw4 VirtualNetworkGatewaySkuName = "VpnGw4" // VirtualNetworkGatewaySkuNameVpnGw4AZ ... VirtualNetworkGatewaySkuNameVpnGw4AZ VirtualNetworkGatewaySkuName = "VpnGw4AZ" // VirtualNetworkGatewaySkuNameVpnGw5 ... VirtualNetworkGatewaySkuNameVpnGw5 VirtualNetworkGatewaySkuName = "VpnGw5" // VirtualNetworkGatewaySkuNameVpnGw5AZ ... VirtualNetworkGatewaySkuNameVpnGw5AZ VirtualNetworkGatewaySkuName = "VpnGw5AZ" )
func PossibleVirtualNetworkGatewaySkuNameValues() []VirtualNetworkGatewaySkuName
PossibleVirtualNetworkGatewaySkuNameValues returns an array of possible values for the VirtualNetworkGatewaySkuName const type.
VirtualNetworkGatewaySkuTier enumerates the values for virtual network gateway sku tier.
type VirtualNetworkGatewaySkuTier string
const ( // VirtualNetworkGatewaySkuTierBasic ... VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic" // VirtualNetworkGatewaySkuTierErGw1AZ ... VirtualNetworkGatewaySkuTierErGw1AZ VirtualNetworkGatewaySkuTier = "ErGw1AZ" // VirtualNetworkGatewaySkuTierErGw2AZ ... VirtualNetworkGatewaySkuTierErGw2AZ VirtualNetworkGatewaySkuTier = "ErGw2AZ" // VirtualNetworkGatewaySkuTierErGw3AZ ... VirtualNetworkGatewaySkuTierErGw3AZ VirtualNetworkGatewaySkuTier = "ErGw3AZ" // VirtualNetworkGatewaySkuTierHighPerformance ... VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance" // VirtualNetworkGatewaySkuTierStandard ... VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard" // VirtualNetworkGatewaySkuTierUltraPerformance ... VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance" // VirtualNetworkGatewaySkuTierVpnGw1 ... VirtualNetworkGatewaySkuTierVpnGw1 VirtualNetworkGatewaySkuTier = "VpnGw1" // VirtualNetworkGatewaySkuTierVpnGw1AZ ... VirtualNetworkGatewaySkuTierVpnGw1AZ VirtualNetworkGatewaySkuTier = "VpnGw1AZ" // VirtualNetworkGatewaySkuTierVpnGw2 ... VirtualNetworkGatewaySkuTierVpnGw2 VirtualNetworkGatewaySkuTier = "VpnGw2" // VirtualNetworkGatewaySkuTierVpnGw2AZ ... VirtualNetworkGatewaySkuTierVpnGw2AZ VirtualNetworkGatewaySkuTier = "VpnGw2AZ" // VirtualNetworkGatewaySkuTierVpnGw3 ... VirtualNetworkGatewaySkuTierVpnGw3 VirtualNetworkGatewaySkuTier = "VpnGw3" // VirtualNetworkGatewaySkuTierVpnGw3AZ ... VirtualNetworkGatewaySkuTierVpnGw3AZ VirtualNetworkGatewaySkuTier = "VpnGw3AZ" // VirtualNetworkGatewaySkuTierVpnGw4 ... VirtualNetworkGatewaySkuTierVpnGw4 VirtualNetworkGatewaySkuTier = "VpnGw4" // VirtualNetworkGatewaySkuTierVpnGw4AZ ... VirtualNetworkGatewaySkuTierVpnGw4AZ VirtualNetworkGatewaySkuTier = "VpnGw4AZ" // VirtualNetworkGatewaySkuTierVpnGw5 ... VirtualNetworkGatewaySkuTierVpnGw5 VirtualNetworkGatewaySkuTier = "VpnGw5" // VirtualNetworkGatewaySkuTierVpnGw5AZ ... VirtualNetworkGatewaySkuTierVpnGw5AZ VirtualNetworkGatewaySkuTier = "VpnGw5AZ" )
func PossibleVirtualNetworkGatewaySkuTierValues() []VirtualNetworkGatewaySkuTier
PossibleVirtualNetworkGatewaySkuTierValues returns an array of possible values for the VirtualNetworkGatewaySkuTier const type.
VirtualNetworkGatewayType enumerates the values for virtual network gateway type.
type VirtualNetworkGatewayType string
const ( // VirtualNetworkGatewayTypeExpressRoute ... VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute" // VirtualNetworkGatewayTypeLocalGateway ... VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway" // VirtualNetworkGatewayTypeVpn ... VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn" )
func PossibleVirtualNetworkGatewayTypeValues() []VirtualNetworkGatewayType
PossibleVirtualNetworkGatewayTypeValues returns an array of possible values for the VirtualNetworkGatewayType const type.
VirtualNetworkGatewaysClient is the network Client
type VirtualNetworkGatewaysClient struct { BaseClient }
func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient
NewVirtualNetworkGatewaysClient creates an instance of the VirtualNetworkGatewaysClient client.
func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient
NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to create or update virtual network gateway operation.
func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysDeleteFuture, err error)
Delete deletes the specified virtual network gateway. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworkGatewaysClient) 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 VirtualNetworkGatewaysClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnections(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, request P2SVpnConnectionRequest) (result VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture, err error)
DisconnectVirtualNetworkGatewayVpnConnections disconnect vpn connections of virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. request - the parameters are supplied to disconnect vpn connections.
func (client VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnectionsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, request P2SVpnConnectionRequest) (*http.Request, error)
DisconnectVirtualNetworkGatewayVpnConnectionsPreparer prepares the DisconnectVirtualNetworkGatewayVpnConnections request.
func (client VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnectionsResponder(resp *http.Response) (result autorest.Response, err error)
DisconnectVirtualNetworkGatewayVpnConnectionsResponder handles the response to the DisconnectVirtualNetworkGatewayVpnConnections request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnectionsSender(req *http.Request) (future VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture, err error)
DisconnectVirtualNetworkGatewayVpnConnectionsSender sends the DisconnectVirtualNetworkGatewayVpnConnections request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GenerateVpnProfile(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGenerateVpnProfileFuture, err error)
GenerateVpnProfile generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the generate virtual network gateway VPN client package operation.
func (client VirtualNetworkGatewaysClient) GenerateVpnProfilePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (*http.Request, error)
GenerateVpnProfilePreparer prepares the GenerateVpnProfile request.
func (client VirtualNetworkGatewaysClient) GenerateVpnProfileResponder(resp *http.Response) (result String, err error)
GenerateVpnProfileResponder handles the response to the GenerateVpnProfile request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GenerateVpnProfileSender(req *http.Request) (future VirtualNetworkGatewaysGenerateVpnProfileFuture, err error)
GenerateVpnProfileSender sends the GenerateVpnProfile request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGeneratevpnclientpackageFuture, err error)
Generatevpnclientpackage generates VPN client package for P2S client of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the generate virtual network gateway VPN client package operation.
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (*http.Request, error)
GeneratevpnclientpackagePreparer prepares the Generatevpnclientpackage request.
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(resp *http.Response) (result String, err error)
GeneratevpnclientpackageResponder handles the response to the Generatevpnclientpackage request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender(req *http.Request) (future VirtualNetworkGatewaysGeneratevpnclientpackageFuture, err error)
GeneratevpnclientpackageSender sends the Generatevpnclientpackage request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error)
Get gets the specified virtual network gateway by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetAdvertisedRoutesFuture, err error)
GetAdvertisedRoutes this operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. peer - the IP address of the peer.
func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (*http.Request, error)
GetAdvertisedRoutesPreparer prepares the GetAdvertisedRoutes request.
func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesResponder(resp *http.Response) (result GatewayRouteListResult, err error)
GetAdvertisedRoutesResponder handles the response to the GetAdvertisedRoutes request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesSender(req *http.Request) (future VirtualNetworkGatewaysGetAdvertisedRoutesFuture, err error)
GetAdvertisedRoutesSender sends the GetAdvertisedRoutes request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GetBgpPeerStatus(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetBgpPeerStatusFuture, err error)
GetBgpPeerStatus the GetBgpPeerStatus operation retrieves the status of all BGP peers. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. peer - the IP address of the peer to retrieve the status of.
func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (*http.Request, error)
GetBgpPeerStatusPreparer prepares the GetBgpPeerStatus request.
func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusResponder(resp *http.Response) (result BgpPeerStatusListResult, err error)
GetBgpPeerStatusResponder handles the response to the GetBgpPeerStatus request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusSender(req *http.Request) (future VirtualNetworkGatewaysGetBgpPeerStatusFuture, err error)
GetBgpPeerStatusSender sends the GetBgpPeerStatus request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GetLearnedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetLearnedRoutesFuture, err error)
GetLearnedRoutes this operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) GetLearnedRoutesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetLearnedRoutesPreparer prepares the GetLearnedRoutes request.
func (client VirtualNetworkGatewaysClient) GetLearnedRoutesResponder(resp *http.Response) (result GatewayRouteListResult, err error)
GetLearnedRoutesResponder handles the response to the GetLearnedRoutes request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetLearnedRoutesSender(req *http.Request) (future VirtualNetworkGatewaysGetLearnedRoutesFuture, err error)
GetLearnedRoutesSender sends the GetLearnedRoutes request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) 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 VirtualNetworkGatewaysClient) GetVpnProfilePackageURL(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error)
GetVpnProfilePackageURL gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetVpnProfilePackageURLPreparer prepares the GetVpnProfilePackageURL request.
func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder(resp *http.Response) (result String, err error)
GetVpnProfilePackageURLResponder handles the response to the GetVpnProfilePackageURL request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error)
GetVpnProfilePackageURLSender sends the GetVpnProfilePackageURL request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealth(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture, err error)
GetVpnclientConnectionHealth get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetVpnclientConnectionHealthPreparer prepares the GetVpnclientConnectionHealth request.
func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthResponder(resp *http.Response) (result VpnClientConnectionHealthDetailListResult, err error)
GetVpnclientConnectionHealthResponder handles the response to the GetVpnclientConnectionHealth request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture, err error)
GetVpnclientConnectionHealthSender sends the GetVpnclientConnectionHealth request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture, err error)
GetVpnclientIpsecParameters the Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the virtual network gateway name.
func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetVpnclientIpsecParametersPreparer prepares the GetVpnclientIpsecParameters request.
func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersResponder(resp *http.Response) (result VpnClientIPsecParameters, err error)
GetVpnclientIpsecParametersResponder handles the response to the GetVpnclientIpsecParameters request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture, err error)
GetVpnclientIpsecParametersSender sends the GetVpnclientIpsecParameters request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultPage, err error)
List gets all virtual network gateways by resource group. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkGatewaysClient) ListConnections(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResultPage, err error)
ListConnections gets all the connections in a virtual network gateway. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResultIterator, err error)
ListConnectionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkGatewaysClient) ListConnectionsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
ListConnectionsPreparer prepares the ListConnections request.
func (client VirtualNetworkGatewaysClient) ListConnectionsResponder(resp *http.Response) (result VirtualNetworkGatewayListConnectionsResult, err error)
ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) ListConnectionsSender(req *http.Request) (*http.Response, error)
ListConnectionsSender sends the ListConnections request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualNetworkGatewaysClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) 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.
func (client VirtualNetworkGatewaysClient) Reset(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (result VirtualNetworkGatewaysResetFuture, err error)
Reset resets the primary of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. gatewayVip - virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
func (client VirtualNetworkGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (*http.Request, error)
ResetPreparer prepares the Reset request.
func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) ResetSender(req *http.Request) (future VirtualNetworkGatewaysResetFuture, err error)
ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysResetVpnClientSharedKeyFuture, err error)
ResetVpnClientSharedKey resets the VPN client shared key of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
ResetVpnClientSharedKeyPreparer prepares the ResetVpnClientSharedKey request.
func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyResponder(resp *http.Response) (result autorest.Response, err error)
ResetVpnClientSharedKeyResponder handles the response to the ResetVpnClientSharedKey request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeySender(req *http.Request) (future VirtualNetworkGatewaysResetVpnClientSharedKeyFuture, err error)
ResetVpnClientSharedKeySender sends the ResetVpnClientSharedKey request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIpsecParams VpnClientIPsecParameters) (result VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture, err error)
SetVpnclientIpsecParameters the Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. vpnclientIpsecParams - parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIpsecParams VpnClientIPsecParameters) (*http.Request, error)
SetVpnclientIpsecParametersPreparer prepares the SetVpnclientIpsecParameters request.
func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersResponder(resp *http.Response) (result VpnClientIPsecParameters, err error)
SetVpnclientIpsecParametersResponder handles the response to the SetVpnclientIpsecParameters request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersSender(req *http.Request) (future VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture, err error)
SetVpnclientIpsecParametersSender sends the SetVpnclientIpsecParameters request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) StartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters *VpnPacketCaptureStartParameters) (result VirtualNetworkGatewaysStartPacketCaptureFuture, err error)
StartPacketCapture starts packet capture on virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - virtual network gateway packet capture parameters supplied to start packet capture on gateway.
func (client VirtualNetworkGatewaysClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters *VpnPacketCaptureStartParameters) (*http.Request, error)
StartPacketCapturePreparer prepares the StartPacketCapture request.
func (client VirtualNetworkGatewaysClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)
StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) StartPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewaysStartPacketCaptureFuture, err error)
StartPacketCaptureSender sends the StartPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) StopPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnPacketCaptureStopParameters) (result VirtualNetworkGatewaysStopPacketCaptureFuture, err error)
StopPacketCapture stops packet capture on virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
func (client VirtualNetworkGatewaysClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnPacketCaptureStopParameters) (*http.Request, error)
StopPacketCapturePreparer prepares the StopPacketCapture request.
func (client VirtualNetworkGatewaysClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)
StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) StopPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewaysStopPacketCaptureFuture, err error)
StopPacketCaptureSender sends the StopPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) SupportedVpnDevices(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result String, err error)
SupportedVpnDevices gets a xml format representation for supported vpn devices. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
SupportedVpnDevicesPreparer prepares the SupportedVpnDevices request.
func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder(resp *http.Response) (result String, err error)
SupportedVpnDevicesResponder handles the response to the SupportedVpnDevices request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesSender(req *http.Request) (*http.Response, error)
SupportedVpnDevicesSender sends the SupportedVpnDevices request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject) (result VirtualNetworkGatewaysUpdateTagsFuture, err error)
UpdateTags updates a virtual network gateway tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to update virtual network gateway tags.
func (client VirtualNetworkGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualNetworkGatewaysClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) UpdateTagsSender(req *http.Request) (future VirtualNetworkGatewaysUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (result String, err error)
VpnDeviceConfigurationScript gets a xml format representation for vpn device configuration script. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection for which the configuration script is generated. parameters - parameters supplied to the generate vpn device script operation.
func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (*http.Request, error)
VpnDeviceConfigurationScriptPreparer prepares the VpnDeviceConfigurationScript request.
func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptResponder(resp *http.Response) (result String, err error)
VpnDeviceConfigurationScriptResponder handles the response to the VpnDeviceConfigurationScript request. The method always closes the http.Response Body.
func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptSender(req *http.Request) (*http.Response, error)
VpnDeviceConfigurationScriptSender sends the VpnDeviceConfigurationScript request. The method will close the http.Response Body if it receives an error.
VirtualNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VirtualNetworkGateway, error) }
func (future *VirtualNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGenerateVpnProfileFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (String, error) }
func (future *VirtualNetworkGatewaysGenerateVpnProfileFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGeneratevpnclientpackageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGeneratevpnclientpackageFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (String, error) }
func (future *VirtualNetworkGatewaysGeneratevpnclientpackageFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetAdvertisedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetAdvertisedRoutesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (GatewayRouteListResult, error) }
func (future *VirtualNetworkGatewaysGetAdvertisedRoutesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetBgpPeerStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetBgpPeerStatusFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (BgpPeerStatusListResult, error) }
func (future *VirtualNetworkGatewaysGetBgpPeerStatusFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetLearnedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetLearnedRoutesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (GatewayRouteListResult, error) }
func (future *VirtualNetworkGatewaysGetLearnedRoutesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetVpnProfilePackageURLFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (String, error) }
func (future *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VpnClientConnectionHealthDetailListResult, error) }
func (future *VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VpnClientIPsecParameters, error) }
func (future *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysResetFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VirtualNetworkGateway, error) }
func (future *VirtualNetworkGatewaysResetFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysResetVpnClientSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysResetVpnClientSharedKeyFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (autorest.Response, error) }
func (future *VirtualNetworkGatewaysResetVpnClientSharedKeyFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VpnClientIPsecParameters, error) }
func (future *VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysStartPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (String, error) }
func (future *VirtualNetworkGatewaysStartPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysStopPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (String, error) }
func (future *VirtualNetworkGatewaysStopPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkGatewaysUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkGatewaysClient) (VirtualNetworkGateway, error) }
func (future *VirtualNetworkGatewaysUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkListResult response for the ListVirtualNetworks API service call.
type VirtualNetworkListResult struct { autorest.Response `json:"-"` // Value - A list of VirtualNetwork resources in a resource group. Value *[]VirtualNetwork `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vnlr VirtualNetworkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualNetworkListResultIterator provides access to a complete listing of VirtualNetwork values.
type VirtualNetworkListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkListResultIterator(page VirtualNetworkListResultPage) VirtualNetworkListResultIterator
Creates a new instance of the VirtualNetworkListResultIterator type.
func (iter *VirtualNetworkListResultIterator) 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 *VirtualNetworkListResultIterator) 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 VirtualNetworkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkListResultIterator) Response() VirtualNetworkListResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkListResultIterator) Value() VirtualNetwork
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkListResultPage contains a page of VirtualNetwork values.
type VirtualNetworkListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkListResultPage(cur VirtualNetworkListResult, getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage
Creates a new instance of the VirtualNetworkListResultPage type.
func (page *VirtualNetworkListResultPage) 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 *VirtualNetworkListResultPage) 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 VirtualNetworkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkListResultPage) Response() VirtualNetworkListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkListResultPage) Values() []VirtualNetwork
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkListUsageResult response for the virtual networks GetUsage API service call.
type VirtualNetworkListUsageResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; VirtualNetwork usage stats. Value *[]VirtualNetworkUsage `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vnlur VirtualNetworkListUsageResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (vnlur VirtualNetworkListUsageResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkListUsageResult.
VirtualNetworkListUsageResultIterator provides access to a complete listing of VirtualNetworkUsage values.
type VirtualNetworkListUsageResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkListUsageResultIterator(page VirtualNetworkListUsageResultPage) VirtualNetworkListUsageResultIterator
Creates a new instance of the VirtualNetworkListUsageResultIterator type.
func (iter *VirtualNetworkListUsageResultIterator) 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 *VirtualNetworkListUsageResultIterator) 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 VirtualNetworkListUsageResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkListUsageResultIterator) Response() VirtualNetworkListUsageResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkListUsageResultIterator) Value() VirtualNetworkUsage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkListUsageResultPage contains a page of VirtualNetworkUsage values.
type VirtualNetworkListUsageResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkListUsageResultPage(cur VirtualNetworkListUsageResult, getNextPage func(context.Context, VirtualNetworkListUsageResult) (VirtualNetworkListUsageResult, error)) VirtualNetworkListUsageResultPage
Creates a new instance of the VirtualNetworkListUsageResultPage type.
func (page *VirtualNetworkListUsageResultPage) 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 *VirtualNetworkListUsageResultPage) 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 VirtualNetworkListUsageResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkListUsageResultPage) Response() VirtualNetworkListUsageResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkListUsageResultPage) Values() []VirtualNetworkUsage
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkPeering peerings in a virtual network resource.
type VirtualNetworkPeering struct { autorest.Response `json:"-"` // VirtualNetworkPeeringPropertiesFormat - Properties of the virtual network peering. *VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vnp VirtualNetworkPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkPeering.
func (vnp *VirtualNetworkPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkPeering struct.
VirtualNetworkPeeringLevel enumerates the values for virtual network peering level.
type VirtualNetworkPeeringLevel string
const ( // VirtualNetworkPeeringLevelFullyInSync ... VirtualNetworkPeeringLevelFullyInSync VirtualNetworkPeeringLevel = "FullyInSync" // VirtualNetworkPeeringLevelLocalAndRemoteNotInSync ... VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync" // VirtualNetworkPeeringLevelLocalNotInSync ... VirtualNetworkPeeringLevelLocalNotInSync VirtualNetworkPeeringLevel = "LocalNotInSync" // VirtualNetworkPeeringLevelRemoteNotInSync ... VirtualNetworkPeeringLevelRemoteNotInSync VirtualNetworkPeeringLevel = "RemoteNotInSync" )
func PossibleVirtualNetworkPeeringLevelValues() []VirtualNetworkPeeringLevel
PossibleVirtualNetworkPeeringLevelValues returns an array of possible values for the VirtualNetworkPeeringLevel const type.
VirtualNetworkPeeringListResult response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network.
type VirtualNetworkPeeringListResult struct { autorest.Response `json:"-"` // Value - The peerings in a virtual network. Value *[]VirtualNetworkPeering `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vnplr VirtualNetworkPeeringListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualNetworkPeeringListResultIterator provides access to a complete listing of VirtualNetworkPeering values.
type VirtualNetworkPeeringListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkPeeringListResultIterator(page VirtualNetworkPeeringListResultPage) VirtualNetworkPeeringListResultIterator
Creates a new instance of the VirtualNetworkPeeringListResultIterator type.
func (iter *VirtualNetworkPeeringListResultIterator) 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 *VirtualNetworkPeeringListResultIterator) 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 VirtualNetworkPeeringListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkPeeringListResultIterator) Response() VirtualNetworkPeeringListResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkPeeringListResultIterator) Value() VirtualNetworkPeering
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkPeeringListResultPage contains a page of VirtualNetworkPeering values.
type VirtualNetworkPeeringListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkPeeringListResultPage(cur VirtualNetworkPeeringListResult, getNextPage func(context.Context, VirtualNetworkPeeringListResult) (VirtualNetworkPeeringListResult, error)) VirtualNetworkPeeringListResultPage
Creates a new instance of the VirtualNetworkPeeringListResultPage type.
func (page *VirtualNetworkPeeringListResultPage) 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 *VirtualNetworkPeeringListResultPage) 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 VirtualNetworkPeeringListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkPeeringListResultPage) Response() VirtualNetworkPeeringListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkPeeringListResultPage) Values() []VirtualNetworkPeering
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkPeeringPropertiesFormat properties of the virtual network peering.
type VirtualNetworkPeeringPropertiesFormat struct { // AllowVirtualNetworkAccess - Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"` // AllowForwardedTraffic - Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"` // AllowGatewayTransit - If gateway links can be used in remote virtual networking to link to this virtual network. AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"` // UseRemoteGateways - If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"` // RemoteVirtualNetwork - The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` // RemoteAddressSpace - The reference to the address space peered with the remote virtual network. RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"` // RemoteVirtualNetworkAddressSpace - The reference to the current address space of the remote virtual network. RemoteVirtualNetworkAddressSpace *AddressSpace `json:"remoteVirtualNetworkAddressSpace,omitempty"` // RemoteBgpCommunities - The reference to the remote virtual network's Bgp Communities. RemoteBgpCommunities *VirtualNetworkBgpCommunities `json:"remoteBgpCommunities,omitempty"` // RemoteVirtualNetworkEncryption - READ-ONLY; The reference to the remote virtual network's encryption RemoteVirtualNetworkEncryption *VirtualNetworkEncryption `json:"remoteVirtualNetworkEncryption,omitempty"` // PeeringState - The status of the virtual network peering. Possible values include: 'VirtualNetworkPeeringStateInitiated', 'VirtualNetworkPeeringStateConnected', 'VirtualNetworkPeeringStateDisconnected' PeeringState VirtualNetworkPeeringState `json:"peeringState,omitempty"` // PeeringSyncLevel - The peering sync status of the virtual network peering. Possible values include: 'VirtualNetworkPeeringLevelFullyInSync', 'VirtualNetworkPeeringLevelRemoteNotInSync', 'VirtualNetworkPeeringLevelLocalNotInSync', 'VirtualNetworkPeeringLevelLocalAndRemoteNotInSync' PeeringSyncLevel VirtualNetworkPeeringLevel `json:"peeringSyncLevel,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network peering resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // DoNotVerifyRemoteGateways - If we need to verify the provisioning state of the remote gateway. DoNotVerifyRemoteGateways *bool `json:"doNotVerifyRemoteGateways,omitempty"` // ResourceGUID - READ-ONLY; The resourceGuid property of the Virtual Network peering resource. ResourceGUID *string `json:"resourceGuid,omitempty"` }
func (vnppf VirtualNetworkPeeringPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkPeeringPropertiesFormat.
VirtualNetworkPeeringState enumerates the values for virtual network peering state.
type VirtualNetworkPeeringState string
const ( // VirtualNetworkPeeringStateConnected ... VirtualNetworkPeeringStateConnected VirtualNetworkPeeringState = "Connected" // VirtualNetworkPeeringStateDisconnected ... VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected" // VirtualNetworkPeeringStateInitiated ... VirtualNetworkPeeringStateInitiated VirtualNetworkPeeringState = "Initiated" )
func PossibleVirtualNetworkPeeringStateValues() []VirtualNetworkPeeringState
PossibleVirtualNetworkPeeringStateValues returns an array of possible values for the VirtualNetworkPeeringState const type.
VirtualNetworkPeeringsClient is the network Client
type VirtualNetworkPeeringsClient struct { BaseClient }
func NewVirtualNetworkPeeringsClient(subscriptionID string) VirtualNetworkPeeringsClient
NewVirtualNetworkPeeringsClient creates an instance of the VirtualNetworkPeeringsClient client.
func NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkPeeringsClient
NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworkPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering, syncRemoteAddressSpace SyncRemoteAddressSpace) (result VirtualNetworkPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a peering in the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the peering. virtualNetworkPeeringParameters - parameters supplied to the create or update virtual network peering operation. syncRemoteAddressSpace - parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.
func (client VirtualNetworkPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering, syncRemoteAddressSpace SyncRemoteAddressSpace) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworkPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworkPeeringsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkPeeringsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeeringsDeleteFuture, err error)
Delete deletes the specified virtual network peering. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the virtual network peering.
func (client VirtualNetworkPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworkPeeringsClient) 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 VirtualNetworkPeeringsClient) DeleteSender(req *http.Request) (future VirtualNetworkPeeringsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeering, err error)
Get gets the specified virtual network peering. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the virtual network peering.
func (client VirtualNetworkPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworkPeeringsClient) GetResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworkPeeringsClient) 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 VirtualNetworkPeeringsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResultPage, err error)
List gets all virtual network peerings in a virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (client VirtualNetworkPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualNetworkPeeringsClient) ListResponder(resp *http.Response) (result VirtualNetworkPeeringListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualNetworkPeeringsClient) 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.
VirtualNetworkPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkPeeringsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkPeeringsClient) (VirtualNetworkPeering, error) }
func (future *VirtualNetworkPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkPeeringsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkPeeringsClient) (autorest.Response, error) }
func (future *VirtualNetworkPeeringsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkPrivateEndpointNetworkPolicies enumerates the values for virtual network private endpoint network policies.
type VirtualNetworkPrivateEndpointNetworkPolicies string
const ( // VirtualNetworkPrivateEndpointNetworkPoliciesDisabled ... VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled" // VirtualNetworkPrivateEndpointNetworkPoliciesEnabled ... VirtualNetworkPrivateEndpointNetworkPoliciesEnabled VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" )
func PossibleVirtualNetworkPrivateEndpointNetworkPoliciesValues() []VirtualNetworkPrivateEndpointNetworkPolicies
PossibleVirtualNetworkPrivateEndpointNetworkPoliciesValues returns an array of possible values for the VirtualNetworkPrivateEndpointNetworkPolicies const type.
VirtualNetworkPrivateLinkServiceNetworkPolicies enumerates the values for virtual network private link service network policies.
type VirtualNetworkPrivateLinkServiceNetworkPolicies string
const ( // VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled ... VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled" // VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled ... VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" )
func PossibleVirtualNetworkPrivateLinkServiceNetworkPoliciesValues() []VirtualNetworkPrivateLinkServiceNetworkPolicies
PossibleVirtualNetworkPrivateLinkServiceNetworkPoliciesValues returns an array of possible values for the VirtualNetworkPrivateLinkServiceNetworkPolicies const type.
VirtualNetworkPropertiesFormat properties of the virtual network.
type VirtualNetworkPropertiesFormat struct { // AddressSpace - The AddressSpace that contains an array of IP address ranges that can be used by subnets. AddressSpace *AddressSpace `json:"addressSpace,omitempty"` // DhcpOptions - The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network. DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"` // FlowTimeoutInMinutes - The FlowTimeout value (in minutes) for the Virtual Network FlowTimeoutInMinutes *int32 `json:"flowTimeoutInMinutes,omitempty"` // Subnets - A list of subnets in a Virtual Network. Subnets *[]Subnet `json:"subnets,omitempty"` // VirtualNetworkPeerings - A list of peerings in a Virtual Network. VirtualNetworkPeerings *[]VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"` // ResourceGUID - READ-ONLY; The resourceGuid property of the Virtual Network resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // EnableDdosProtection - Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"` // EnableVMProtection - Indicates if VM protection is enabled for all the subnets in the virtual network. EnableVMProtection *bool `json:"enableVmProtection,omitempty"` // DdosProtectionPlan - The DDoS protection plan associated with the virtual network. DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` // BgpCommunities - Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"` // Encryption - Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. Encryption *VirtualNetworkEncryption `json:"encryption,omitempty"` // IPAllocations - Array of IpAllocation which reference this VNET. IPAllocations *[]SubResource `json:"ipAllocations,omitempty"` }
func (vnpf VirtualNetworkPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkPropertiesFormat.
VirtualNetworkTap virtual Network Tap resource.
type VirtualNetworkTap struct { autorest.Response `json:"-"` // VirtualNetworkTapPropertiesFormat - Virtual Network Tap Properties. *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vnt VirtualNetworkTap) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkTap.
func (vnt *VirtualNetworkTap) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkTap struct.
VirtualNetworkTapListResult response for ListVirtualNetworkTap API service call.
type VirtualNetworkTapListResult struct { autorest.Response `json:"-"` // Value - A list of VirtualNetworkTaps in a resource group. Value *[]VirtualNetworkTap `json:"value,omitempty"` // NextLink - The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vntlr VirtualNetworkTapListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualNetworkTapListResultIterator provides access to a complete listing of VirtualNetworkTap values.
type VirtualNetworkTapListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkTapListResultIterator(page VirtualNetworkTapListResultPage) VirtualNetworkTapListResultIterator
Creates a new instance of the VirtualNetworkTapListResultIterator type.
func (iter *VirtualNetworkTapListResultIterator) 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 *VirtualNetworkTapListResultIterator) 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 VirtualNetworkTapListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkTapListResultIterator) Response() VirtualNetworkTapListResult
Response returns the raw server response from the last page request.
func (iter VirtualNetworkTapListResultIterator) Value() VirtualNetworkTap
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualNetworkTapListResultPage contains a page of VirtualNetworkTap values.
type VirtualNetworkTapListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkTapListResultPage(cur VirtualNetworkTapListResult, getNextPage func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error)) VirtualNetworkTapListResultPage
Creates a new instance of the VirtualNetworkTapListResultPage type.
func (page *VirtualNetworkTapListResultPage) 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 *VirtualNetworkTapListResultPage) 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 VirtualNetworkTapListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkTapListResultPage) Response() VirtualNetworkTapListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkTapListResultPage) Values() []VirtualNetworkTap
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkTapPropertiesFormat virtual Network Tap properties.
type VirtualNetworkTapPropertiesFormat struct { // NetworkInterfaceTapConfigurations - READ-ONLY; Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. NetworkInterfaceTapConfigurations *[]InterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"` // ResourceGUID - READ-ONLY; The resource GUID property of the virtual network tap resource. ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network tap resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // DestinationNetworkInterfaceIPConfiguration - The reference to the private IP Address of the collector nic that will receive the tap. DestinationNetworkInterfaceIPConfiguration *InterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` // DestinationLoadBalancerFrontEndIPConfiguration - The reference to the private IP address on the internal Load Balancer that will receive the tap. DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` // DestinationPort - The VXLAN destination port that will receive the tapped traffic. DestinationPort *int32 `json:"destinationPort,omitempty"` }
func (vntpf VirtualNetworkTapPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkTapPropertiesFormat.
VirtualNetworkTapsClient is the network Client
type VirtualNetworkTapsClient struct { BaseClient }
func NewVirtualNetworkTapsClient(subscriptionID string) VirtualNetworkTapsClient
NewVirtualNetworkTapsClient creates an instance of the VirtualNetworkTapsClient client.
func NewVirtualNetworkTapsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkTapsClient
NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworkTapsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, tapName string, parameters VirtualNetworkTap) (result VirtualNetworkTapsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a Virtual Network Tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the virtual network tap. parameters - parameters supplied to the create or update virtual network tap operation.
func (client VirtualNetworkTapsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, tapName string, parameters VirtualNetworkTap) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworkTapsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkTap, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworkTapsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkTapsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkTapsClient) Delete(ctx context.Context, resourceGroupName string, tapName string) (result VirtualNetworkTapsDeleteFuture, err error)
Delete deletes the specified virtual network tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the virtual network tap.
func (client VirtualNetworkTapsClient) DeletePreparer(ctx context.Context, resourceGroupName string, tapName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworkTapsClient) 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 VirtualNetworkTapsClient) DeleteSender(req *http.Request) (future VirtualNetworkTapsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkTapsClient) Get(ctx context.Context, resourceGroupName string, tapName string) (result VirtualNetworkTap, err error)
Get gets information about the specified virtual network tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of virtual network tap.
func (client VirtualNetworkTapsClient) GetPreparer(ctx context.Context, resourceGroupName string, tapName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworkTapsClient) GetResponder(resp *http.Response) (result VirtualNetworkTap, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworkTapsClient) 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 VirtualNetworkTapsClient) ListAll(ctx context.Context) (result VirtualNetworkTapListResultPage, err error)
ListAll gets all the VirtualNetworkTaps in a subscription.
func (client VirtualNetworkTapsClient) ListAllComplete(ctx context.Context) (result VirtualNetworkTapListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkTapsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client VirtualNetworkTapsClient) ListAllResponder(resp *http.Response) (result VirtualNetworkTapListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client VirtualNetworkTapsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkTapsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualNetworkTapListResultPage, err error)
ListByResourceGroup gets all the VirtualNetworkTaps in a subscription. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualNetworkTapsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkTapListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworkTapsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VirtualNetworkTapsClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualNetworkTapListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VirtualNetworkTapsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworkTapsClient) UpdateTags(ctx context.Context, resourceGroupName string, tapName string, tapParameters TagsObject) (result VirtualNetworkTap, err error)
UpdateTags updates an VirtualNetworkTap tags. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the tap. tapParameters - parameters supplied to update VirtualNetworkTap tags.
func (client VirtualNetworkTapsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, tapName string, tapParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualNetworkTapsClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkTap, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualNetworkTapsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualNetworkTapsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkTapsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkTapsClient) (VirtualNetworkTap, error) }
func (future *VirtualNetworkTapsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkTapsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworkTapsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworkTapsClient) (autorest.Response, error) }
func (future *VirtualNetworkTapsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworkUsage usage details for subnet.
type VirtualNetworkUsage struct { // CurrentValue - READ-ONLY; Indicates number of IPs used from the Subnet. CurrentValue *float64 `json:"currentValue,omitempty"` // ID - READ-ONLY; Subnet identifier. ID *string `json:"id,omitempty"` // Limit - READ-ONLY; Indicates the size of the subnet. Limit *float64 `json:"limit,omitempty"` // Name - READ-ONLY; The name containing common and localized value for usage. Name *VirtualNetworkUsageName `json:"name,omitempty"` // Unit - READ-ONLY; Usage units. Returns 'Count'. Unit *string `json:"unit,omitempty"` }
func (vnu VirtualNetworkUsage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkUsage.
VirtualNetworkUsageName usage strings container.
type VirtualNetworkUsageName struct { // LocalizedValue - READ-ONLY; Localized subnet size and usage string. LocalizedValue *string `json:"localizedValue,omitempty"` // Value - READ-ONLY; Subnet size and usage string. Value *string `json:"value,omitempty"` }
func (vnun VirtualNetworkUsageName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkUsageName.
VirtualNetworksClient is the network Client
type VirtualNetworksClient struct { BaseClient }
func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient
NewVirtualNetworksClient creates an instance of the VirtualNetworksClient client.
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient
NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (result IPAddressAvailabilityResult, err error)
CheckIPAddressAvailability checks whether a private IP address is available for use. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. IPAddress - the private IP address to be verified.
func (client VirtualNetworksClient) CheckIPAddressAvailabilityPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (*http.Request, error)
CheckIPAddressAvailabilityPreparer prepares the CheckIPAddressAvailability request.
func (client VirtualNetworksClient) CheckIPAddressAvailabilityResponder(resp *http.Response) (result IPAddressAvailabilityResult, err error)
CheckIPAddressAvailabilityResponder handles the response to the CheckIPAddressAvailability request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) CheckIPAddressAvailabilitySender(req *http.Request) (*http.Response, error)
CheckIPAddressAvailabilitySender sends the CheckIPAddressAvailability request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (result VirtualNetworksCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a virtual network in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. parameters - parameters supplied to the create or update virtual network operation.
func (client VirtualNetworksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetwork, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworksCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworksDeleteFuture, err error)
Delete deletes the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (client VirtualNetworksClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualNetworksClient) 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 VirtualNetworksClient) DeleteSender(req *http.Request) (future VirtualNetworksDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error)
Get gets the specified virtual network by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. expand - expands referenced resources.
func (client VirtualNetworksClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) 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 VirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultPage, err error)
List gets all virtual networks in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualNetworksClient) ListAll(ctx context.Context) (result VirtualNetworkListResultPage, err error)
ListAll gets all virtual networks in a subscription.
func (client VirtualNetworksClient) ListAllComplete(ctx context.Context) (result VirtualNetworkListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworksClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworksClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworksClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) 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.
func (client VirtualNetworksClient) ListUsage(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResultPage, err error)
ListUsage lists usage stats. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (client VirtualNetworksClient) ListUsageComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResultIterator, err error)
ListUsageComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualNetworksClient) ListUsagePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
ListUsagePreparer prepares the ListUsage request.
func (client VirtualNetworksClient) ListUsageResponder(resp *http.Response) (result VirtualNetworkListUsageResult, err error)
ListUsageResponder handles the response to the ListUsage request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) ListUsageSender(req *http.Request) (*http.Response, error)
ListUsageSender sends the ListUsage request. The method will close the http.Response Body if it receives an error.
func (client VirtualNetworksClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject) (result VirtualNetwork, err error)
UpdateTags updates a virtual network tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. parameters - parameters supplied to update virtual network tags.
func (client VirtualNetworksClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualNetworksClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetwork, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualNetworksClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualNetworksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworksCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworksClient) (VirtualNetwork, error) }
func (future *VirtualNetworksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualNetworksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualNetworksDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualNetworksClient) (autorest.Response, error) }
func (future *VirtualNetworksDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualRouter virtualRouter Resource.
type VirtualRouter struct { autorest.Response `json:"-"` // VirtualRouterPropertiesFormat - Properties of the Virtual Router. *VirtualRouterPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vr VirtualRouter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualRouter.
func (vr *VirtualRouter) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualRouter struct.
VirtualRouterListResult response for ListVirtualRouters API service call.
type VirtualRouterListResult struct { autorest.Response `json:"-"` // Value - List of Virtual Routers. Value *[]VirtualRouter `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vrlr VirtualRouterListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualRouterListResultIterator provides access to a complete listing of VirtualRouter values.
type VirtualRouterListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualRouterListResultIterator(page VirtualRouterListResultPage) VirtualRouterListResultIterator
Creates a new instance of the VirtualRouterListResultIterator type.
func (iter *VirtualRouterListResultIterator) 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 *VirtualRouterListResultIterator) 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 VirtualRouterListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualRouterListResultIterator) Response() VirtualRouterListResult
Response returns the raw server response from the last page request.
func (iter VirtualRouterListResultIterator) Value() VirtualRouter
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualRouterListResultPage contains a page of VirtualRouter values.
type VirtualRouterListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualRouterListResultPage(cur VirtualRouterListResult, getNextPage func(context.Context, VirtualRouterListResult) (VirtualRouterListResult, error)) VirtualRouterListResultPage
Creates a new instance of the VirtualRouterListResultPage type.
func (page *VirtualRouterListResultPage) 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 *VirtualRouterListResultPage) 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 VirtualRouterListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualRouterListResultPage) Response() VirtualRouterListResult
Response returns the raw server response from the last page request.
func (page VirtualRouterListResultPage) Values() []VirtualRouter
Values returns the slice of values for the current page or nil if there are no values.
VirtualRouterPeering virtual Router Peering resource.
type VirtualRouterPeering struct { autorest.Response `json:"-"` // VirtualRouterPeeringProperties - The properties of the Virtual Router Peering. *VirtualRouterPeeringProperties `json:"properties,omitempty"` // Name - Name of the virtual router peering that is unique within a virtual router. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Peering type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vrp VirtualRouterPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualRouterPeering.
func (vrp *VirtualRouterPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualRouterPeering struct.
VirtualRouterPeeringListResult response for ListVirtualRouterPeerings API service call.
type VirtualRouterPeeringListResult struct { autorest.Response `json:"-"` // Value - List of VirtualRouterPeerings in a VirtualRouter. Value *[]VirtualRouterPeering `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
func (vrplr VirtualRouterPeeringListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
VirtualRouterPeeringListResultIterator provides access to a complete listing of VirtualRouterPeering values.
type VirtualRouterPeeringListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualRouterPeeringListResultIterator(page VirtualRouterPeeringListResultPage) VirtualRouterPeeringListResultIterator
Creates a new instance of the VirtualRouterPeeringListResultIterator type.
func (iter *VirtualRouterPeeringListResultIterator) 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 *VirtualRouterPeeringListResultIterator) 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 VirtualRouterPeeringListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualRouterPeeringListResultIterator) Response() VirtualRouterPeeringListResult
Response returns the raw server response from the last page request.
func (iter VirtualRouterPeeringListResultIterator) Value() VirtualRouterPeering
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
VirtualRouterPeeringListResultPage contains a page of VirtualRouterPeering values.
type VirtualRouterPeeringListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualRouterPeeringListResultPage(cur VirtualRouterPeeringListResult, getNextPage func(context.Context, VirtualRouterPeeringListResult) (VirtualRouterPeeringListResult, error)) VirtualRouterPeeringListResultPage
Creates a new instance of the VirtualRouterPeeringListResultPage type.
func (page *VirtualRouterPeeringListResultPage) 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 *VirtualRouterPeeringListResultPage) 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 VirtualRouterPeeringListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualRouterPeeringListResultPage) Response() VirtualRouterPeeringListResult
Response returns the raw server response from the last page request.
func (page VirtualRouterPeeringListResultPage) Values() []VirtualRouterPeering
Values returns the slice of values for the current page or nil if there are no values.
VirtualRouterPeeringProperties properties of the rule group.
type VirtualRouterPeeringProperties struct { // PeerAsn - Peer ASN. PeerAsn *int64 `json:"peerAsn,omitempty"` // PeerIP - Peer IP. PeerIP *string `json:"peerIp,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vrpp VirtualRouterPeeringProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualRouterPeeringProperties.
VirtualRouterPeeringsClient is the network Client
type VirtualRouterPeeringsClient struct { BaseClient }
func NewVirtualRouterPeeringsClient(subscriptionID string) VirtualRouterPeeringsClient
NewVirtualRouterPeeringsClient creates an instance of the VirtualRouterPeeringsClient client.
func NewVirtualRouterPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualRouterPeeringsClient
NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualRouterPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (result VirtualRouterPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Virtual Router Peering. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the Virtual Router Peering. parameters - parameters supplied to the create or update Virtual Router Peering operation.
func (client VirtualRouterPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualRouterPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualRouterPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualRouterPeeringsClient) CreateOrUpdateSender(req *http.Request) (future VirtualRouterPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualRouterPeeringsClient) Delete(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result VirtualRouterPeeringsDeleteFuture, err error)
Delete deletes the specified peering from a Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the peering.
func (client VirtualRouterPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualRouterPeeringsClient) 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 VirtualRouterPeeringsClient) DeleteSender(req *http.Request) (future VirtualRouterPeeringsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualRouterPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result VirtualRouterPeering, err error)
Get gets the specified Virtual Router Peering. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the Virtual Router Peering.
func (client VirtualRouterPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualRouterPeeringsClient) GetResponder(resp *http.Response) (result VirtualRouterPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualRouterPeeringsClient) 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 VirtualRouterPeeringsClient) List(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRouterPeeringListResultPage, err error)
List lists all Virtual Router Peerings in a Virtual Router resource. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router.
func (client VirtualRouterPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRouterPeeringListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualRouterPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualRouterPeeringsClient) ListResponder(resp *http.Response) (result VirtualRouterPeeringListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualRouterPeeringsClient) 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.
VirtualRouterPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualRouterPeeringsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualRouterPeeringsClient) (VirtualRouterPeering, error) }
func (future *VirtualRouterPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualRouterPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualRouterPeeringsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualRouterPeeringsClient) (autorest.Response, error) }
func (future *VirtualRouterPeeringsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualRouterPropertiesFormat virtual Router definition.
type VirtualRouterPropertiesFormat struct { // VirtualRouterAsn - VirtualRouter ASN. VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"` // VirtualRouterIps - VirtualRouter IPs. VirtualRouterIps *[]string `json:"virtualRouterIps,omitempty"` // HostedSubnet - The Subnet on which VirtualRouter is hosted. HostedSubnet *SubResource `json:"hostedSubnet,omitempty"` // HostedGateway - The Gateway on which VirtualRouter is hosted. HostedGateway *SubResource `json:"hostedGateway,omitempty"` // Peerings - READ-ONLY; List of references to VirtualRouterPeerings. Peerings *[]SubResource `json:"peerings,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vrpf VirtualRouterPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualRouterPropertiesFormat.
VirtualRoutersClient is the network Client
type VirtualRoutersClient struct { BaseClient }
func NewVirtualRoutersClient(subscriptionID string) VirtualRoutersClient
NewVirtualRoutersClient creates an instance of the VirtualRoutersClient client.
func NewVirtualRoutersClientWithBaseURI(baseURI string, subscriptionID string) VirtualRoutersClient
NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualRoutersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters VirtualRouter) (result VirtualRoutersCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. parameters - parameters supplied to the create or update Virtual Router.
func (client VirtualRoutersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters VirtualRouter) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualRoutersClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualRouter, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualRoutersClient) CreateOrUpdateSender(req *http.Request) (future VirtualRoutersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualRoutersClient) Delete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRoutersDeleteFuture, err error)
Delete deletes the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router.
func (client VirtualRoutersClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualRoutersClient) 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 VirtualRoutersClient) DeleteSender(req *http.Request) (future VirtualRoutersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualRoutersClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, expand string) (result VirtualRouter, err error)
Get gets the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. expand - expands referenced resources.
func (client VirtualRoutersClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualRoutersClient) GetResponder(resp *http.Response) (result VirtualRouter, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualRoutersClient) 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 VirtualRoutersClient) List(ctx context.Context) (result VirtualRouterListResultPage, err error)
List gets all the Virtual Routers in a subscription.
func (client VirtualRoutersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualRouterListResultPage, err error)
ListByResourceGroup lists all Virtual Routers in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client VirtualRoutersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualRouterListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualRoutersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VirtualRoutersClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualRouterListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VirtualRoutersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VirtualRoutersClient) ListComplete(ctx context.Context) (result VirtualRouterListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualRoutersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualRoutersClient) ListResponder(resp *http.Response) (result VirtualRouterListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualRoutersClient) 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.
VirtualRoutersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualRoutersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualRoutersClient) (VirtualRouter, error) }
func (future *VirtualRoutersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualRoutersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualRoutersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualRoutersClient) (autorest.Response, error) }
func (future *VirtualRoutersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualWAN virtualWAN Resource.
type VirtualWAN struct { autorest.Response `json:"-"` // VirtualWanProperties - Properties of the virtual WAN. *VirtualWanProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vw VirtualWAN) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualWAN.
func (vw *VirtualWAN) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualWAN struct.
VirtualWanProperties parameters for VirtualWAN.
type VirtualWanProperties struct { // DisableVpnEncryption - Vpn encryption to be disabled or not. DisableVpnEncryption *bool `json:"disableVpnEncryption,omitempty"` // VirtualHubs - READ-ONLY; List of VirtualHubs in the VirtualWAN. VirtualHubs *[]SubResource `json:"virtualHubs,omitempty"` // VpnSites - READ-ONLY; List of VpnSites in the VirtualWAN. VpnSites *[]SubResource `json:"vpnSites,omitempty"` // AllowBranchToBranchTraffic - True if branch to branch traffic is allowed. AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` // AllowVnetToVnetTraffic - True if Vnet to Vnet traffic is allowed. AllowVnetToVnetTraffic *bool `json:"allowVnetToVnetTraffic,omitempty"` // Office365LocalBreakoutCategory - The office local breakout category. Possible values include: 'OfficeTrafficCategoryOptimize', 'OfficeTrafficCategoryOptimizeAndAllow', 'OfficeTrafficCategoryAll', 'OfficeTrafficCategoryNone' Office365LocalBreakoutCategory OfficeTrafficCategory `json:"office365LocalBreakoutCategory,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual WAN resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Type - The type of the VirtualWAN. Type *string `json:"type,omitempty"` }
func (vwp VirtualWanProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualWanProperties.
VirtualWanSecurityProvider collection of SecurityProviders.
type VirtualWanSecurityProvider struct { // Name - Name of the security provider. Name *string `json:"name,omitempty"` // URL - Url of the security provider. URL *string `json:"url,omitempty"` // Type - Name of the security provider. Possible values include: 'VirtualWanSecurityProviderTypeExternal', 'VirtualWanSecurityProviderTypeNative' Type VirtualWanSecurityProviderType `json:"type,omitempty"` }
VirtualWanSecurityProviderType enumerates the values for virtual wan security provider type.
type VirtualWanSecurityProviderType string
const ( // VirtualWanSecurityProviderTypeExternal ... VirtualWanSecurityProviderTypeExternal VirtualWanSecurityProviderType = "External" // VirtualWanSecurityProviderTypeNative ... VirtualWanSecurityProviderTypeNative VirtualWanSecurityProviderType = "Native" )
func PossibleVirtualWanSecurityProviderTypeValues() []VirtualWanSecurityProviderType
PossibleVirtualWanSecurityProviderTypeValues returns an array of possible values for the VirtualWanSecurityProviderType const type.
VirtualWanSecurityProviders collection of SecurityProviders.
type VirtualWanSecurityProviders struct { autorest.Response `json:"-"` // SupportedProviders - List of VirtualWAN security providers. SupportedProviders *[]VirtualWanSecurityProvider `json:"supportedProviders,omitempty"` }
VirtualWanVpnProfileParameters virtual Wan Vpn profile parameters Vpn profile generation.
type VirtualWanVpnProfileParameters struct { // VpnServerConfigurationResourceID - VpnServerConfiguration partial resource uri with which VirtualWan is associated to. VpnServerConfigurationResourceID *string `json:"vpnServerConfigurationResourceId,omitempty"` // AuthenticationMethod - VPN client authentication method. Possible values include: 'AuthenticationMethodEAPTLS', 'AuthenticationMethodEAPMSCHAPv2' AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"` }
VirtualWansClient is the network Client
type VirtualWansClient struct { BaseClient }
func NewVirtualWansClient(subscriptionID string) VirtualWansClient
NewVirtualWansClient creates an instance of the VirtualWansClient client.
func NewVirtualWansClientWithBaseURI(baseURI string, subscriptionID string) VirtualWansClient
NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VirtualWansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters VirtualWAN) (result VirtualWansCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being created or updated. wANParameters - parameters supplied to create or update VirtualWAN.
func (client VirtualWansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters VirtualWAN) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VirtualWansClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualWAN, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VirtualWansClient) CreateOrUpdateSender(req *http.Request) (future VirtualWansCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VirtualWansClient) Delete(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWansDeleteFuture, err error)
Delete deletes a VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being deleted.
func (client VirtualWansClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VirtualWansClient) 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 VirtualWansClient) DeleteSender(req *http.Request) (future VirtualWansDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VirtualWansClient) Get(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWAN, err error)
Get retrieves the details of a VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being retrieved.
func (client VirtualWansClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VirtualWansClient) GetResponder(resp *http.Response) (result VirtualWAN, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VirtualWansClient) 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 VirtualWansClient) List(ctx context.Context) (result ListVirtualWANsResultPage, err error)
List lists all the VirtualWANs in a subscription.
func (client VirtualWansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVirtualWANsResultPage, err error)
ListByResourceGroup lists all the VirtualWANs in a resource group. Parameters: resourceGroupName - the resource group name of the VirtualWan.
func (client VirtualWansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVirtualWANsResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualWansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VirtualWansClient) ListByResourceGroupResponder(resp *http.Response) (result ListVirtualWANsResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VirtualWansClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VirtualWansClient) ListComplete(ctx context.Context) (result ListVirtualWANsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VirtualWansClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VirtualWansClient) ListResponder(resp *http.Response) (result ListVirtualWANsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VirtualWansClient) 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.
func (client VirtualWansClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters TagsObject) (result VirtualWAN, err error)
UpdateTags updates a VirtualWAN tags. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being updated. wANParameters - parameters supplied to Update VirtualWAN tags.
func (client VirtualWansClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VirtualWansClient) UpdateTagsResponder(resp *http.Response) (result VirtualWAN, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VirtualWansClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VirtualWansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualWansCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualWansClient) (VirtualWAN, error) }
func (future *VirtualWansCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VirtualWansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VirtualWansDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualWansClient) (autorest.Response, error) }
func (future *VirtualWansDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VnetRoute list of routes that control routing from VirtualHub into a virtual network connection.
type VnetRoute struct { // StaticRoutes - List of all Static Routes. StaticRoutes *[]StaticRoute `json:"staticRoutes,omitempty"` // BgpConnections - READ-ONLY; The list of references to HubBgpConnection objects. BgpConnections *[]SubResource `json:"bgpConnections,omitempty"` }
func (vr VnetRoute) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetRoute.
VpnAuthenticationType enumerates the values for vpn authentication type.
type VpnAuthenticationType string
const ( // VpnAuthenticationTypeAAD ... VpnAuthenticationTypeAAD VpnAuthenticationType = "AAD" // VpnAuthenticationTypeCertificate ... VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate" // VpnAuthenticationTypeRadius ... VpnAuthenticationTypeRadius VpnAuthenticationType = "Radius" )
func PossibleVpnAuthenticationTypeValues() []VpnAuthenticationType
PossibleVpnAuthenticationTypeValues returns an array of possible values for the VpnAuthenticationType const type.
VpnClientConfiguration vpnClientConfiguration for P2S client.
type VpnClientConfiguration struct { // VpnClientAddressPool - The reference to the address space resource which represents Address space for P2S VpnClient. VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` // VpnClientRootCertificates - VpnClientRootCertificate for virtual network gateway. VpnClientRootCertificates *[]VpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` // VpnClientRevokedCertificates - VpnClientRevokedCertificate for Virtual network gateway. VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` // VpnClientProtocols - VpnClientProtocols for Virtual network gateway. VpnClientProtocols *[]VpnClientProtocol `json:"vpnClientProtocols,omitempty"` // VpnAuthenticationTypes - VPN authentication types for the virtual network gateway.. VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` // VpnClientIpsecPolicies - VpnClientIpsecPolicies for virtual network gateway P2S client. VpnClientIpsecPolicies *[]IpsecPolicy `json:"vpnClientIpsecPolicies,omitempty"` // RadiusServerAddress - The radius server address property of the VirtualNetworkGateway resource for vpn client connection. RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` // RadiusServerSecret - The radius secret property of the VirtualNetworkGateway resource for vpn client connection. RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` // RadiusServers - The radiusServers property for multiple radius server configuration. RadiusServers *[]RadiusServer `json:"radiusServers,omitempty"` // AadTenant - The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. AadTenant *string `json:"aadTenant,omitempty"` // AadAudience - The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. AadAudience *string `json:"aadAudience,omitempty"` // AadIssuer - The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. AadIssuer *string `json:"aadIssuer,omitempty"` }
VpnClientConnectionHealth vpnClientConnectionHealth properties.
type VpnClientConnectionHealth struct { // TotalIngressBytesTransferred - READ-ONLY; Total of the Ingress Bytes Transferred in this P2S Vpn connection. TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty"` // TotalEgressBytesTransferred - READ-ONLY; Total of the Egress Bytes Transferred in this connection. TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty"` // VpnClientConnectionsCount - The total of p2s vpn clients connected at this time to this P2SVpnGateway. VpnClientConnectionsCount *int32 `json:"vpnClientConnectionsCount,omitempty"` // AllocatedIPAddresses - List of allocated ip addresses to the connected p2s vpn clients. AllocatedIPAddresses *[]string `json:"allocatedIpAddresses,omitempty"` }
func (vcch VpnClientConnectionHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientConnectionHealth.
VpnClientConnectionHealthDetail VPN client connection health detail.
type VpnClientConnectionHealthDetail struct { // VpnConnectionID - READ-ONLY; The vpn client Id. VpnConnectionID *string `json:"vpnConnectionId,omitempty"` // VpnConnectionDuration - READ-ONLY; The duration time of a connected vpn client. VpnConnectionDuration *int64 `json:"vpnConnectionDuration,omitempty"` // VpnConnectionTime - READ-ONLY; The start time of a connected vpn client. VpnConnectionTime *string `json:"vpnConnectionTime,omitempty"` // PublicIPAddress - READ-ONLY; The public Ip of a connected vpn client. PublicIPAddress *string `json:"publicIpAddress,omitempty"` // PrivateIPAddress - READ-ONLY; The assigned private Ip of a connected vpn client. PrivateIPAddress *string `json:"privateIpAddress,omitempty"` // VpnUserName - READ-ONLY; The user name of a connected vpn client. VpnUserName *string `json:"vpnUserName,omitempty"` // MaxBandwidth - READ-ONLY; The max band width. MaxBandwidth *int64 `json:"maxBandwidth,omitempty"` // EgressPacketsTransferred - READ-ONLY; The egress packets per second. EgressPacketsTransferred *int64 `json:"egressPacketsTransferred,omitempty"` // EgressBytesTransferred - READ-ONLY; The egress bytes per second. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // IngressPacketsTransferred - READ-ONLY; The ingress packets per second. IngressPacketsTransferred *int64 `json:"ingressPacketsTransferred,omitempty"` // IngressBytesTransferred - READ-ONLY; The ingress bytes per second. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // MaxPacketsPerSecond - READ-ONLY; The max packets transferred per second. MaxPacketsPerSecond *int64 `json:"maxPacketsPerSecond,omitempty"` }
func (vcchd VpnClientConnectionHealthDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientConnectionHealthDetail.
VpnClientConnectionHealthDetailListResult list of virtual network gateway vpn client connection health.
type VpnClientConnectionHealthDetailListResult struct { autorest.Response `json:"-"` // Value - List of vpn client connection health. Value *[]VpnClientConnectionHealthDetail `json:"value,omitempty"` }
VpnClientIPsecParameters an IPSec parameters for a virtual network gateway P2S connection.
type VpnClientIPsecParameters struct { autorest.Response `json:"-"` // SaLifeTimeSeconds - The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client. SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"` // SaDataSizeKilobytes - The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client.. SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"` // IpsecEncryption - The IPSec encryption algorithm (IKE phase 1). Possible values include: 'IpsecEncryptionNone', 'IpsecEncryptionDES', 'IpsecEncryptionDES3', 'IpsecEncryptionAES128', 'IpsecEncryptionAES192', 'IpsecEncryptionAES256', 'IpsecEncryptionGCMAES128', 'IpsecEncryptionGCMAES192', 'IpsecEncryptionGCMAES256' IpsecEncryption IpsecEncryption `json:"ipsecEncryption,omitempty"` // IpsecIntegrity - The IPSec integrity algorithm (IKE phase 1). Possible values include: 'IpsecIntegrityMD5', 'IpsecIntegritySHA1', 'IpsecIntegritySHA256', 'IpsecIntegrityGCMAES128', 'IpsecIntegrityGCMAES192', 'IpsecIntegrityGCMAES256' IpsecIntegrity IpsecIntegrity `json:"ipsecIntegrity,omitempty"` // IkeEncryption - The IKE encryption algorithm (IKE phase 2). Possible values include: 'IkeEncryptionDES', 'IkeEncryptionDES3', 'IkeEncryptionAES128', 'IkeEncryptionAES192', 'IkeEncryptionAES256', 'IkeEncryptionGCMAES256', 'IkeEncryptionGCMAES128' IkeEncryption IkeEncryption `json:"ikeEncryption,omitempty"` // IkeIntegrity - The IKE integrity algorithm (IKE phase 2). Possible values include: 'IkeIntegrityMD5', 'IkeIntegritySHA1', 'IkeIntegritySHA256', 'IkeIntegritySHA384', 'IkeIntegrityGCMAES256', 'IkeIntegrityGCMAES128' IkeIntegrity IkeIntegrity `json:"ikeIntegrity,omitempty"` // DhGroup - The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'DhGroupNone', 'DhGroupDHGroup1', 'DhGroupDHGroup2', 'DhGroupDHGroup14', 'DhGroupDHGroup2048', 'DhGroupECP256', 'DhGroupECP384', 'DhGroupDHGroup24' DhGroup DhGroup `json:"dhGroup,omitempty"` // PfsGroup - The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'PfsGroupNone', 'PfsGroupPFS1', 'PfsGroupPFS2', 'PfsGroupPFS2048', 'PfsGroupECP256', 'PfsGroupECP384', 'PfsGroupPFS24', 'PfsGroupPFS14', 'PfsGroupPFSMM' PfsGroup PfsGroup `json:"pfsGroup,omitempty"` }
VpnClientParameters vpn Client Parameters for package generation.
type VpnClientParameters struct { // ProcessorArchitecture - VPN client Processor Architecture. Possible values include: 'ProcessorArchitectureAmd64', 'ProcessorArchitectureX86' ProcessorArchitecture ProcessorArchitecture `json:"processorArchitecture,omitempty"` // AuthenticationMethod - VPN client authentication method. Possible values include: 'AuthenticationMethodEAPTLS', 'AuthenticationMethodEAPMSCHAPv2' AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"` // RadiusServerAuthCertificate - The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication. RadiusServerAuthCertificate *string `json:"radiusServerAuthCertificate,omitempty"` // ClientRootCertificates - A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS. ClientRootCertificates *[]string `json:"clientRootCertificates,omitempty"` }
VpnClientProtocol enumerates the values for vpn client protocol.
type VpnClientProtocol string
const ( // VpnClientProtocolIkeV2 ... VpnClientProtocolIkeV2 VpnClientProtocol = "IkeV2" // VpnClientProtocolOpenVPN ... VpnClientProtocolOpenVPN VpnClientProtocol = "OpenVPN" // VpnClientProtocolSSTP ... VpnClientProtocolSSTP VpnClientProtocol = "SSTP" )
func PossibleVpnClientProtocolValues() []VpnClientProtocol
PossibleVpnClientProtocolValues returns an array of possible values for the VpnClientProtocol const type.
VpnClientRevokedCertificate VPN client revoked certificate of virtual network gateway.
type VpnClientRevokedCertificate struct { // VpnClientRevokedCertificatePropertiesFormat - Properties of the vpn client revoked certificate. *VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vcrc VpnClientRevokedCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRevokedCertificate.
func (vcrc *VpnClientRevokedCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnClientRevokedCertificate struct.
VpnClientRevokedCertificatePropertiesFormat properties of the revoked VPN client certificate of virtual network gateway.
type VpnClientRevokedCertificatePropertiesFormat struct { // Thumbprint - The revoked VPN client certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN client revoked certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vcrcpf VpnClientRevokedCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRevokedCertificatePropertiesFormat.
VpnClientRootCertificate VPN client root certificate of virtual network gateway.
type VpnClientRootCertificate struct { // VpnClientRootCertificatePropertiesFormat - Properties of the vpn client root certificate. *VpnClientRootCertificatePropertiesFormat `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vcrc VpnClientRootCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRootCertificate.
func (vcrc *VpnClientRootCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnClientRootCertificate struct.
VpnClientRootCertificatePropertiesFormat properties of SSL certificates of application gateway.
type VpnClientRootCertificatePropertiesFormat struct { // PublicCertData - The certificate public data. PublicCertData *string `json:"publicCertData,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN client root certificate resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vcrcpf VpnClientRootCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRootCertificatePropertiesFormat.
VpnConnection vpnConnection Resource.
type VpnConnection struct { autorest.Response `json:"-"` // VpnConnectionProperties - Properties of the VPN connection. *VpnConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vc VpnConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnConnection.
func (vc *VpnConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnConnection struct.
VpnConnectionPacketCaptureStartParameters vpn Connection packet capture parameters supplied to start packet capture on gateway connection.
type VpnConnectionPacketCaptureStartParameters struct { // FilterData - Start Packet capture parameters on vpn connection. FilterData *string `json:"filterData,omitempty"` // LinkConnectionNames - List of site link connection names. LinkConnectionNames *[]string `json:"linkConnectionNames,omitempty"` }
VpnConnectionPacketCaptureStopParameters vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.
type VpnConnectionPacketCaptureStopParameters struct { // SasURL - SAS url for packet capture on vpn connection. SasURL *string `json:"sasUrl,omitempty"` // LinkConnectionNames - List of site link connection names. LinkConnectionNames *[]string `json:"linkConnectionNames,omitempty"` }
VpnConnectionProperties parameters for VpnConnection.
type VpnConnectionProperties struct { // RemoteVpnSite - Id of the connected vpn site. RemoteVpnSite *SubResource `json:"remoteVpnSite,omitempty"` // RoutingWeight - Routing weight for vpn connection. RoutingWeight *int32 `json:"routingWeight,omitempty"` // DpdTimeoutSeconds - DPD timeout in seconds for vpn connection. DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"` // ConnectionStatus - The connection status. Possible values include: 'VpnConnectionStatusUnknown', 'VpnConnectionStatusConnecting', 'VpnConnectionStatusConnected', 'VpnConnectionStatusNotConnected' ConnectionStatus VpnConnectionStatus `json:"connectionStatus,omitempty"` // VpnConnectionProtocolType - Connection protocol used for this connection. Possible values include: 'VirtualNetworkGatewayConnectionProtocolIKEv2', 'VirtualNetworkGatewayConnectionProtocolIKEv1' VpnConnectionProtocolType VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` // IngressBytesTransferred - READ-ONLY; Ingress bytes transferred. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // EgressBytesTransferred - READ-ONLY; Egress bytes transferred. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // ConnectionBandwidth - Expected bandwidth in MBPS. ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"` // SharedKey - SharedKey for the vpn connection. SharedKey *string `json:"sharedKey,omitempty"` // EnableBgp - EnableBgp flag. EnableBgp *bool `json:"enableBgp,omitempty"` // UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors. UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` // IpsecPolicies - The IPSec Policies to be considered by this connection. IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"` // TrafficSelectorPolicies - The Traffic Selector Policies to be considered by this connection. TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` // EnableRateLimiting - EnableBgp flag. EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` // EnableInternetSecurity - Enable internet security. EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` // UseLocalAzureIPAddress - Use local azure ip to initiate connection. UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VpnLinkConnections - List of all vpn site link connections to the gateway. VpnLinkConnections *[]VpnSiteLinkConnection `json:"vpnLinkConnections,omitempty"` // RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection. RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` }
func (vcp VpnConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnConnectionProperties.
VpnConnectionStatus enumerates the values for vpn connection status.
type VpnConnectionStatus string
const ( // VpnConnectionStatusConnected ... VpnConnectionStatusConnected VpnConnectionStatus = "Connected" // VpnConnectionStatusConnecting ... VpnConnectionStatusConnecting VpnConnectionStatus = "Connecting" // VpnConnectionStatusNotConnected ... VpnConnectionStatusNotConnected VpnConnectionStatus = "NotConnected" // VpnConnectionStatusUnknown ... VpnConnectionStatusUnknown VpnConnectionStatus = "Unknown" )
func PossibleVpnConnectionStatusValues() []VpnConnectionStatus
PossibleVpnConnectionStatusValues returns an array of possible values for the VpnConnectionStatus const type.
VpnConnectionsClient is the network Client
type VpnConnectionsClient struct { BaseClient }
func NewVpnConnectionsClient(subscriptionID string) VpnConnectionsClient
NewVpnConnectionsClient creates an instance of the VpnConnectionsClient client.
func NewVpnConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnConnectionsClient
NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, vpnConnectionParameters VpnConnection) (result VpnConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the connection. vpnConnectionParameters - parameters supplied to create or Update a VPN Connection.
func (client VpnConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, vpnConnectionParameters VpnConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VpnConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VpnConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VpnConnectionsClient) CreateOrUpdateSender(req *http.Request) (future VpnConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VpnConnectionsClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result VpnConnectionsDeleteFuture, err error)
Delete deletes a vpn connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the connection.
func (client VpnConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VpnConnectionsClient) 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 VpnConnectionsClient) DeleteSender(req *http.Request) (future VpnConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VpnConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result VpnConnection, err error)
Get retrieves the details of a vpn connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection.
func (client VpnConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnConnectionsClient) GetResponder(resp *http.Response) (result VpnConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnConnectionsClient) 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 VpnConnectionsClient) ListByVpnGateway(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnConnectionsResultPage, err error)
ListByVpnGateway retrieves all vpn connections for a particular virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.
func (client VpnConnectionsClient) ListByVpnGatewayComplete(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnConnectionsResultIterator, err error)
ListByVpnGatewayComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnConnectionsClient) ListByVpnGatewayPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
ListByVpnGatewayPreparer prepares the ListByVpnGateway request.
func (client VpnConnectionsClient) ListByVpnGatewayResponder(resp *http.Response) (result ListVpnConnectionsResult, err error)
ListByVpnGatewayResponder handles the response to the ListByVpnGateway request. The method always closes the http.Response Body.
func (client VpnConnectionsClient) ListByVpnGatewaySender(req *http.Request) (*http.Response, error)
ListByVpnGatewaySender sends the ListByVpnGateway request. The method will close the http.Response Body if it receives an error.
func (client VpnConnectionsClient) StartPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, parameters *VpnConnectionPacketCaptureStartParameters) (result VpnConnectionsStartPacketCaptureFuture, err error)
StartPacketCapture starts packet capture on Vpn connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the gateway. vpnConnectionName - the name of the vpn connection. parameters - vpn Connection packet capture parameters supplied to start packet capture on gateway connection.
func (client VpnConnectionsClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, parameters *VpnConnectionPacketCaptureStartParameters) (*http.Request, error)
StartPacketCapturePreparer prepares the StartPacketCapture request.
func (client VpnConnectionsClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)
StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.
func (client VpnConnectionsClient) StartPacketCaptureSender(req *http.Request) (future VpnConnectionsStartPacketCaptureFuture, err error)
StartPacketCaptureSender sends the StartPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VpnConnectionsClient) StopPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, parameters *VpnConnectionPacketCaptureStopParameters) (result VpnConnectionsStopPacketCaptureFuture, err error)
StopPacketCapture stops packet capture on Vpn connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the gateway. vpnConnectionName - the name of the vpn connection. parameters - vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.
func (client VpnConnectionsClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, parameters *VpnConnectionPacketCaptureStopParameters) (*http.Request, error)
StopPacketCapturePreparer prepares the StopPacketCapture request.
func (client VpnConnectionsClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)
StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.
func (client VpnConnectionsClient) StopPacketCaptureSender(req *http.Request) (future VpnConnectionsStopPacketCaptureFuture, err error)
StopPacketCaptureSender sends the StopPacketCapture request. The method will close the http.Response Body if it receives an error.
VpnConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnConnectionsClient) (VpnConnection, error) }
func (future *VpnConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnConnectionsClient) (autorest.Response, error) }
func (future *VpnConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnConnectionsStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnConnectionsStartPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnConnectionsClient) (String, error) }
func (future *VpnConnectionsStartPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnConnectionsStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnConnectionsStopPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnConnectionsClient) (String, error) }
func (future *VpnConnectionsStopPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnDeviceScriptParameters vpn device configuration script generation parameters.
type VpnDeviceScriptParameters struct { // Vendor - The vendor for the vpn device. Vendor *string `json:"vendor,omitempty"` // DeviceFamily - The device family for the vpn device. DeviceFamily *string `json:"deviceFamily,omitempty"` // FirmwareVersion - The firmware version for the vpn device. FirmwareVersion *string `json:"firmwareVersion,omitempty"` }
VpnGateway vpnGateway Resource.
type VpnGateway struct { autorest.Response `json:"-"` // VpnGatewayProperties - Properties of the VPN gateway. *VpnGatewayProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vg VpnGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnGateway.
func (vg *VpnGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnGateway struct.
VpnGatewayGeneration enumerates the values for vpn gateway generation.
type VpnGatewayGeneration string
const ( // VpnGatewayGenerationGeneration1 ... VpnGatewayGenerationGeneration1 VpnGatewayGeneration = "Generation1" // VpnGatewayGenerationGeneration2 ... VpnGatewayGenerationGeneration2 VpnGatewayGeneration = "Generation2" // VpnGatewayGenerationNone ... VpnGatewayGenerationNone VpnGatewayGeneration = "None" )
func PossibleVpnGatewayGenerationValues() []VpnGatewayGeneration
PossibleVpnGatewayGenerationValues returns an array of possible values for the VpnGatewayGeneration const type.
VpnGatewayIPConfiguration IP Configuration of a VPN Gateway Resource.
type VpnGatewayIPConfiguration struct { // ID - The identifier of the IP configuration for a VPN Gateway. ID *string `json:"id,omitempty"` // PublicIPAddress - The public IP address of this IP configuration. PublicIPAddress *string `json:"publicIpAddress,omitempty"` // PrivateIPAddress - The private IP address of this IP configuration. PrivateIPAddress *string `json:"privateIpAddress,omitempty"` }
VpnGatewayNatRule vpnGatewayNatRule Resource.
type VpnGatewayNatRule struct { autorest.Response `json:"-"` // VpnGatewayNatRuleProperties - Properties of the VpnGateway NAT rule. *VpnGatewayNatRuleProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vgnr VpnGatewayNatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnGatewayNatRule.
func (vgnr *VpnGatewayNatRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnGatewayNatRule struct.
VpnGatewayNatRuleProperties parameters for VpnGatewayNatRule.
type VpnGatewayNatRuleProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the NAT Rule resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Type - The type of NAT rule for VPN NAT. Possible values include: 'VpnNatRuleTypeStatic', 'VpnNatRuleTypeDynamic' Type VpnNatRuleType `json:"type,omitempty"` // Mode - The Source NAT direction of a VPN NAT. Possible values include: 'VpnNatRuleModeEgressSnat', 'VpnNatRuleModeIngressSnat' Mode VpnNatRuleMode `json:"mode,omitempty"` // InternalMappings - The private IP address internal mapping for NAT. InternalMappings *[]VpnNatRuleMapping `json:"internalMappings,omitempty"` // ExternalMappings - The private IP address external mapping for NAT. ExternalMappings *[]VpnNatRuleMapping `json:"externalMappings,omitempty"` // IPConfigurationID - The IP Configuration ID this NAT rule applies to. IPConfigurationID *string `json:"ipConfigurationId,omitempty"` // EgressVpnSiteLinkConnections - READ-ONLY; List of egress VpnSiteLinkConnections. EgressVpnSiteLinkConnections *[]SubResource `json:"egressVpnSiteLinkConnections,omitempty"` // IngressVpnSiteLinkConnections - READ-ONLY; List of ingress VpnSiteLinkConnections. IngressVpnSiteLinkConnections *[]SubResource `json:"ingressVpnSiteLinkConnections,omitempty"` }
func (vgnrp VpnGatewayNatRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnGatewayNatRuleProperties.
VpnGatewayPacketCaptureStartParameters start packet capture parameters.
type VpnGatewayPacketCaptureStartParameters struct { // FilterData - Start Packet capture parameters on vpn gateway. FilterData *string `json:"filterData,omitempty"` }
VpnGatewayPacketCaptureStopParameters stop packet capture parameters.
type VpnGatewayPacketCaptureStopParameters struct { // SasURL - SAS url for packet capture on vpn gateway. SasURL *string `json:"sasUrl,omitempty"` }
VpnGatewayProperties parameters for VpnGateway.
type VpnGatewayProperties struct { // VirtualHub - The VirtualHub to which the gateway belongs. VirtualHub *SubResource `json:"virtualHub,omitempty"` // Connections - List of all vpn connections to the gateway. Connections *[]VpnConnection `json:"connections,omitempty"` // BgpSettings - Local network gateway's BGP speaker settings. BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN gateway resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VpnGatewayScaleUnit - The scale unit for this vpn gateway. VpnGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"` // IPConfigurations - READ-ONLY; List of all IPs configured on the gateway. IPConfigurations *[]VpnGatewayIPConfiguration `json:"ipConfigurations,omitempty"` // EnableBgpRouteTranslationForNat - Enable BGP routes translation for NAT on this VpnGateway. EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` // IsRoutingPreferenceInternet - Enable Routing Preference property for the Public IP Interface of the VpnGateway. IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` // NatRules - List of all the nat Rules associated with the gateway. NatRules *[]VpnGatewayNatRule `json:"natRules,omitempty"` }
func (vgp VpnGatewayProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnGatewayProperties.
VpnGatewayTunnelingProtocol enumerates the values for vpn gateway tunneling protocol.
type VpnGatewayTunnelingProtocol string
const ( // VpnGatewayTunnelingProtocolIkeV2 ... VpnGatewayTunnelingProtocolIkeV2 VpnGatewayTunnelingProtocol = "IkeV2" // VpnGatewayTunnelingProtocolOpenVPN ... VpnGatewayTunnelingProtocolOpenVPN VpnGatewayTunnelingProtocol = "OpenVPN" )
func PossibleVpnGatewayTunnelingProtocolValues() []VpnGatewayTunnelingProtocol
PossibleVpnGatewayTunnelingProtocolValues returns an array of possible values for the VpnGatewayTunnelingProtocol const type.
VpnGatewaysClient is the network Client
type VpnGatewaysClient struct { BaseClient }
func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient
NewVpnGatewaysClient creates an instance of the VpnGatewaysClient client.
func NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient
NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters VpnGateway) (result VpnGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. vpnGatewayParameters - parameters supplied to create or Update a virtual wan vpn gateway.
func (client VpnGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters VpnGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VpnGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VpnGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) CreateOrUpdateSender(req *http.Request) (future VpnGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGatewaysDeleteFuture, err error)
Delete deletes a virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.
func (client VpnGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VpnGatewaysClient) 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 VpnGatewaysClient) DeleteSender(req *http.Request) (future VpnGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGateway, err error)
Get retrieves the details of a virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.
func (client VpnGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnGatewaysClient) GetResponder(resp *http.Response) (result VpnGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) 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 VpnGatewaysClient) List(ctx context.Context) (result ListVpnGatewaysResultPage, err error)
List lists all the VpnGateways in a subscription.
func (client VpnGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnGatewaysResultPage, err error)
ListByResourceGroup lists all the VpnGateways in a resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway.
func (client VpnGatewaysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnGatewaysResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VpnGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnGatewaysResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) ListComplete(ctx context.Context) (result ListVpnGatewaysResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnGatewaysClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VpnGatewaysClient) ListResponder(resp *http.Response) (result ListVpnGatewaysResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) 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.
func (client VpnGatewaysClient) Reset(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGatewaysResetFuture, err error)
Reset resets the primary of the vpn gateway in the specified resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.
func (client VpnGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)
ResetPreparer prepares the Reset request.
func (client VpnGatewaysClient) ResetResponder(resp *http.Response) (result VpnGateway, err error)
ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) ResetSender(req *http.Request) (future VpnGatewaysResetFuture, err error)
ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) StartPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, parameters *VpnGatewayPacketCaptureStartParameters) (result VpnGatewaysStartPacketCaptureFuture, err error)
StartPacketCapture starts packet capture on vpn gateway in the specified resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. parameters - vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
func (client VpnGatewaysClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, gatewayName string, parameters *VpnGatewayPacketCaptureStartParameters) (*http.Request, error)
StartPacketCapturePreparer prepares the StartPacketCapture request.
func (client VpnGatewaysClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)
StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) StartPacketCaptureSender(req *http.Request) (future VpnGatewaysStartPacketCaptureFuture, err error)
StartPacketCaptureSender sends the StartPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) StopPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, parameters *VpnGatewayPacketCaptureStopParameters) (result VpnGatewaysStopPacketCaptureFuture, err error)
StopPacketCapture stops packet capture on vpn gateway in the specified resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. parameters - vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
func (client VpnGatewaysClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, gatewayName string, parameters *VpnGatewayPacketCaptureStopParameters) (*http.Request, error)
StopPacketCapturePreparer prepares the StopPacketCapture request.
func (client VpnGatewaysClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)
StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) StopPacketCaptureSender(req *http.Request) (future VpnGatewaysStopPacketCaptureFuture, err error)
StopPacketCaptureSender sends the StopPacketCapture request. The method will close the http.Response Body if it receives an error.
func (client VpnGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters TagsObject) (result VpnGatewaysUpdateTagsFuture, err error)
UpdateTags updates virtual wan vpn gateway tags. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. vpnGatewayParameters - parameters supplied to update a virtual wan vpn gateway tags.
func (client VpnGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VpnGatewaysClient) UpdateTagsResponder(resp *http.Response) (result VpnGateway, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VpnGatewaysClient) UpdateTagsSender(req *http.Request) (future VpnGatewaysUpdateTagsFuture, err error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (VpnGateway, error) }
func (future *VpnGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (autorest.Response, error) }
func (future *VpnGatewaysDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysResetFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (VpnGateway, error) }
func (future *VpnGatewaysResetFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnGatewaysStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysStartPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (String, error) }
func (future *VpnGatewaysStartPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnGatewaysStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysStopPacketCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (String, error) }
func (future *VpnGatewaysStopPacketCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnGatewaysUpdateTagsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnGatewaysClient) (VpnGateway, error) }
func (future *VpnGatewaysUpdateTagsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnLinkBgpSettings BGP settings details for a link.
type VpnLinkBgpSettings struct { // Asn - The BGP speaker's ASN. Asn *int64 `json:"asn,omitempty"` // BgpPeeringAddress - The BGP peering address and BGP identifier of this BGP speaker. BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` }
VpnLinkConnectionMode enumerates the values for vpn link connection mode.
type VpnLinkConnectionMode string
const ( // VpnLinkConnectionModeDefault ... VpnLinkConnectionModeDefault VpnLinkConnectionMode = "Default" // VpnLinkConnectionModeInitiatorOnly ... VpnLinkConnectionModeInitiatorOnly VpnLinkConnectionMode = "InitiatorOnly" // VpnLinkConnectionModeResponderOnly ... VpnLinkConnectionModeResponderOnly VpnLinkConnectionMode = "ResponderOnly" )
func PossibleVpnLinkConnectionModeValues() []VpnLinkConnectionMode
PossibleVpnLinkConnectionModeValues returns an array of possible values for the VpnLinkConnectionMode const type.
VpnLinkConnectionsClient is the network Client
type VpnLinkConnectionsClient struct { BaseClient }
func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient
NewVpnLinkConnectionsClient creates an instance of the VpnLinkConnectionsClient client.
func NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient
NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnLinkConnectionsClient) GetIkeSas(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (result VpnLinkConnectionsGetIkeSasFuture, err error)
GetIkeSas lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the gateway. connectionName - the name of the vpn connection. linkConnectionName - the name of the vpn link connection.
func (client VpnLinkConnectionsClient) GetIkeSasPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (*http.Request, error)
GetIkeSasPreparer prepares the GetIkeSas request.
func (client VpnLinkConnectionsClient) GetIkeSasResponder(resp *http.Response) (result String, err error)
GetIkeSasResponder handles the response to the GetIkeSas request. The method always closes the http.Response Body.
func (client VpnLinkConnectionsClient) GetIkeSasSender(req *http.Request) (future VpnLinkConnectionsGetIkeSasFuture, err error)
GetIkeSasSender sends the GetIkeSas request. The method will close the http.Response Body if it receives an error.
func (client VpnLinkConnectionsClient) ListByVpnConnection(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result ListVpnSiteLinkConnectionsResultPage, err error)
ListByVpnConnection retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. Parameters: resourceGroupName - the resource group name of the vpn gateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection.
func (client VpnLinkConnectionsClient) ListByVpnConnectionComplete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result ListVpnSiteLinkConnectionsResultIterator, err error)
ListByVpnConnectionComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnLinkConnectionsClient) ListByVpnConnectionPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)
ListByVpnConnectionPreparer prepares the ListByVpnConnection request.
func (client VpnLinkConnectionsClient) ListByVpnConnectionResponder(resp *http.Response) (result ListVpnSiteLinkConnectionsResult, err error)
ListByVpnConnectionResponder handles the response to the ListByVpnConnection request. The method always closes the http.Response Body.
func (client VpnLinkConnectionsClient) ListByVpnConnectionSender(req *http.Request) (*http.Response, error)
ListByVpnConnectionSender sends the ListByVpnConnection request. The method will close the http.Response Body if it receives an error.
func (client VpnLinkConnectionsClient) ResetConnection(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (result VpnLinkConnectionsResetConnectionFuture, err error)
ResetConnection resets the VpnLink connection specified. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the gateway. connectionName - the name of the vpn connection. linkConnectionName - the name of the vpn link connection.
func (client VpnLinkConnectionsClient) ResetConnectionPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (*http.Request, error)
ResetConnectionPreparer prepares the ResetConnection request.
func (client VpnLinkConnectionsClient) ResetConnectionResponder(resp *http.Response) (result autorest.Response, err error)
ResetConnectionResponder handles the response to the ResetConnection request. The method always closes the http.Response Body.
func (client VpnLinkConnectionsClient) ResetConnectionSender(req *http.Request) (future VpnLinkConnectionsResetConnectionFuture, err error)
ResetConnectionSender sends the ResetConnection request. The method will close the http.Response Body if it receives an error.
VpnLinkConnectionsGetIkeSasFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnLinkConnectionsGetIkeSasFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnLinkConnectionsClient) (String, error) }
func (future *VpnLinkConnectionsGetIkeSasFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnLinkConnectionsResetConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnLinkConnectionsResetConnectionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnLinkConnectionsClient) (autorest.Response, error) }
func (future *VpnLinkConnectionsResetConnectionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnLinkProviderProperties list of properties of a link provider.
type VpnLinkProviderProperties struct { // LinkProviderName - Name of the link provider. LinkProviderName *string `json:"linkProviderName,omitempty"` // LinkSpeedInMbps - Link speed. LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"` }
VpnNatRuleMapping vpn NatRule mapping.
type VpnNatRuleMapping struct { // AddressSpace - Address space for Vpn NatRule mapping. AddressSpace *string `json:"addressSpace,omitempty"` // PortRange - Port range for Vpn NatRule mapping. PortRange *string `json:"portRange,omitempty"` }
VpnNatRuleMode enumerates the values for vpn nat rule mode.
type VpnNatRuleMode string
const ( // VpnNatRuleModeEgressSnat ... VpnNatRuleModeEgressSnat VpnNatRuleMode = "EgressSnat" // VpnNatRuleModeIngressSnat ... VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat" )
func PossibleVpnNatRuleModeValues() []VpnNatRuleMode
PossibleVpnNatRuleModeValues returns an array of possible values for the VpnNatRuleMode const type.
VpnNatRuleType enumerates the values for vpn nat rule type.
type VpnNatRuleType string
const ( // VpnNatRuleTypeDynamic ... VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic" // VpnNatRuleTypeStatic ... VpnNatRuleTypeStatic VpnNatRuleType = "Static" )
func PossibleVpnNatRuleTypeValues() []VpnNatRuleType
PossibleVpnNatRuleTypeValues returns an array of possible values for the VpnNatRuleType const type.
VpnPacketCaptureStartParameters start packet capture parameters on virtual network gateway.
type VpnPacketCaptureStartParameters struct { // FilterData - Start Packet capture parameters. FilterData *string `json:"filterData,omitempty"` }
VpnPacketCaptureStopParameters stop packet capture parameters.
type VpnPacketCaptureStopParameters struct { // SasURL - SAS url for packet capture on virtual network gateway. SasURL *string `json:"sasUrl,omitempty"` }
VpnPolicyMemberAttributeType enumerates the values for vpn policy member attribute type.
type VpnPolicyMemberAttributeType string
const ( // VpnPolicyMemberAttributeTypeAADGroupID ... VpnPolicyMemberAttributeTypeAADGroupID VpnPolicyMemberAttributeType = "AADGroupId" // VpnPolicyMemberAttributeTypeCertificateGroupID ... VpnPolicyMemberAttributeTypeCertificateGroupID VpnPolicyMemberAttributeType = "CertificateGroupId" // VpnPolicyMemberAttributeTypeRadiusAzureGroupID ... VpnPolicyMemberAttributeTypeRadiusAzureGroupID VpnPolicyMemberAttributeType = "RadiusAzureGroupId" )
func PossibleVpnPolicyMemberAttributeTypeValues() []VpnPolicyMemberAttributeType
PossibleVpnPolicyMemberAttributeTypeValues returns an array of possible values for the VpnPolicyMemberAttributeType const type.
VpnProfileResponse vpn Profile Response for package generation.
type VpnProfileResponse struct { autorest.Response `json:"-"` // ProfileURL - URL to the VPN profile. ProfileURL *string `json:"profileUrl,omitempty"` }
VpnServerConfigRadiusClientRootCertificate properties of the Radius client root certificate of VpnServerConfiguration.
type VpnServerConfigRadiusClientRootCertificate struct { // Name - The certificate name. Name *string `json:"name,omitempty"` // Thumbprint - The Radius client root certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` }
VpnServerConfigRadiusServerRootCertificate properties of Radius Server root certificate of VpnServerConfiguration.
type VpnServerConfigRadiusServerRootCertificate struct { // Name - The certificate name. Name *string `json:"name,omitempty"` // PublicCertData - The certificate public data. PublicCertData *string `json:"publicCertData,omitempty"` }
VpnServerConfigVpnClientRevokedCertificate properties of the revoked VPN client certificate of VpnServerConfiguration.
type VpnServerConfigVpnClientRevokedCertificate struct { // Name - The certificate name. Name *string `json:"name,omitempty"` // Thumbprint - The revoked VPN client certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` }
VpnServerConfigVpnClientRootCertificate properties of VPN client root certificate of VpnServerConfiguration.
type VpnServerConfigVpnClientRootCertificate struct { // Name - The certificate name. Name *string `json:"name,omitempty"` // PublicCertData - The certificate public data. PublicCertData *string `json:"publicCertData,omitempty"` }
VpnServerConfiguration vpnServerConfiguration Resource.
type VpnServerConfiguration struct { autorest.Response `json:"-"` // VpnServerConfigurationProperties - Properties of the P2SVpnServer configuration. *VpnServerConfigurationProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vsc VpnServerConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnServerConfiguration.
func (vsc *VpnServerConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnServerConfiguration struct.
VpnServerConfigurationPolicyGroup vpnServerConfigurationPolicyGroup Resource.
type VpnServerConfigurationPolicyGroup struct { autorest.Response `json:"-"` // VpnServerConfigurationPolicyGroupProperties - Properties of the VpnServerConfigurationPolicyGroup. *VpnServerConfigurationPolicyGroupProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vscpg VpnServerConfigurationPolicyGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnServerConfigurationPolicyGroup.
func (vscpg *VpnServerConfigurationPolicyGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnServerConfigurationPolicyGroup struct.
VpnServerConfigurationPolicyGroupMember vpnServerConfiguration PolicyGroup member
type VpnServerConfigurationPolicyGroupMember struct { // Name - Name of the VpnServerConfigurationPolicyGroupMember. Name *string `json:"name,omitempty"` // AttributeType - The Vpn Policy member attribute type. Possible values include: 'VpnPolicyMemberAttributeTypeCertificateGroupID', 'VpnPolicyMemberAttributeTypeAADGroupID', 'VpnPolicyMemberAttributeTypeRadiusAzureGroupID' AttributeType VpnPolicyMemberAttributeType `json:"attributeType,omitempty"` // AttributeValue - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember. AttributeValue *string `json:"attributeValue,omitempty"` }
VpnServerConfigurationPolicyGroupProperties parameters for VpnServerConfigurationPolicyGroup.
type VpnServerConfigurationPolicyGroupProperties struct { // IsDefault - Shows if this is a Default VpnServerConfigurationPolicyGroup or not. IsDefault *bool `json:"isDefault,omitempty"` // Priority - Priority for VpnServerConfigurationPolicyGroup. Priority *int32 `json:"priority,omitempty"` // PolicyMembers - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup. PolicyMembers *[]VpnServerConfigurationPolicyGroupMember `json:"policyMembers,omitempty"` // P2SConnectionConfigurations - READ-ONLY; List of references to P2SConnectionConfigurations. P2SConnectionConfigurations *[]SubResource `json:"p2SConnectionConfigurations,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VpnServerConfigurationPolicyGroup resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vscpgp VpnServerConfigurationPolicyGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnServerConfigurationPolicyGroupProperties.
VpnServerConfigurationProperties parameters for VpnServerConfiguration.
type VpnServerConfigurationProperties struct { // Name - The name of the VpnServerConfiguration that is unique within a resource group. Name *string `json:"name,omitempty"` // VpnProtocols - VPN protocols for the VpnServerConfiguration. VpnProtocols *[]VpnGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"` // VpnAuthenticationTypes - VPN authentication types for the VpnServerConfiguration. VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` // VpnClientRootCertificates - VPN client root certificate of VpnServerConfiguration. VpnClientRootCertificates *[]VpnServerConfigVpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` // VpnClientRevokedCertificates - VPN client revoked certificate of VpnServerConfiguration. VpnClientRevokedCertificates *[]VpnServerConfigVpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` // RadiusServerRootCertificates - Radius Server root certificate of VpnServerConfiguration. RadiusServerRootCertificates *[]VpnServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"` // RadiusClientRootCertificates - Radius client root certificate of VpnServerConfiguration. RadiusClientRootCertificates *[]VpnServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"` // VpnClientIpsecPolicies - VpnClientIpsecPolicies for VpnServerConfiguration. VpnClientIpsecPolicies *[]IpsecPolicy `json:"vpnClientIpsecPolicies,omitempty"` // RadiusServerAddress - The radius server address property of the VpnServerConfiguration resource for point to site client connection. RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` // RadiusServerSecret - The radius secret property of the VpnServerConfiguration resource for point to site client connection. RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` // RadiusServers - Multiple Radius Server configuration for VpnServerConfiguration. RadiusServers *[]RadiusServer `json:"radiusServers,omitempty"` // AadAuthenticationParameters - The set of aad vpn authentication parameters. AadAuthenticationParameters *AadAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. ProvisioningState *string `json:"provisioningState,omitempty"` // P2SVpnGateways - READ-ONLY; List of references to P2SVpnGateways. P2SVpnGateways *[]P2SVpnGateway `json:"p2SVpnGateways,omitempty"` // ConfigurationPolicyGroups - List of all VpnServerConfigurationPolicyGroups. ConfigurationPolicyGroups *[]VpnServerConfigurationPolicyGroup `json:"configurationPolicyGroups,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` }
func (vscp VpnServerConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnServerConfigurationProperties.
VpnServerConfigurationsAssociatedWithVirtualWanClient is the network Client
type VpnServerConfigurationsAssociatedWithVirtualWanClient struct { BaseClient }
func NewVpnServerConfigurationsAssociatedWithVirtualWanClient(subscriptionID string) VpnServerConfigurationsAssociatedWithVirtualWanClient
NewVpnServerConfigurationsAssociatedWithVirtualWanClient creates an instance of the VpnServerConfigurationsAssociatedWithVirtualWanClient client.
func NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsAssociatedWithVirtualWanClient
NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI creates an instance of the VpnServerConfigurationsAssociatedWithVirtualWanClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnServerConfigurationsAssociatedWithVirtualWanClient) List(ctx context.Context, resourceGroupName string, virtualWANName string) (result VpnServerConfigurationsAssociatedWithVirtualWanListFuture, err error)
List gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN whose associated VpnServerConfigurations is needed.
func (client VpnServerConfigurationsAssociatedWithVirtualWanClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client VpnServerConfigurationsAssociatedWithVirtualWanClient) ListResponder(resp *http.Response) (result VpnServerConfigurationsResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsAssociatedWithVirtualWanClient) ListSender(req *http.Request) (future VpnServerConfigurationsAssociatedWithVirtualWanListFuture, err error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
VpnServerConfigurationsAssociatedWithVirtualWanListFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnServerConfigurationsAssociatedWithVirtualWanListFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnServerConfigurationsAssociatedWithVirtualWanClient) (VpnServerConfigurationsResponse, error) }
func (future *VpnServerConfigurationsAssociatedWithVirtualWanListFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnServerConfigurationsClient is the network Client
type VpnServerConfigurationsClient struct { BaseClient }
func NewVpnServerConfigurationsClient(subscriptionID string) VpnServerConfigurationsClient
NewVpnServerConfigurationsClient creates an instance of the VpnServerConfigurationsClient client.
func NewVpnServerConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsClient
NewVpnServerConfigurationsClientWithBaseURI creates an instance of the VpnServerConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnServerConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters VpnServerConfiguration) (result VpnServerConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being created or updated. vpnServerConfigurationParameters - parameters supplied to create or update VpnServerConfiguration.
func (client VpnServerConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters VpnServerConfiguration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VpnServerConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result VpnServerConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future VpnServerConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VpnServerConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result VpnServerConfigurationsDeleteFuture, err error)
Delete deletes a VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being deleted.
func (client VpnServerConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VpnServerConfigurationsClient) 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 VpnServerConfigurationsClient) DeleteSender(req *http.Request) (future VpnServerConfigurationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VpnServerConfigurationsClient) Get(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result VpnServerConfiguration, err error)
Get retrieves the details of a VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being retrieved.
func (client VpnServerConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnServerConfigurationsClient) GetResponder(resp *http.Response) (result VpnServerConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsClient) 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 VpnServerConfigurationsClient) List(ctx context.Context) (result ListVpnServerConfigurationsResultPage, err error)
List lists all the VpnServerConfigurations in a subscription.
func (client VpnServerConfigurationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnServerConfigurationsResultPage, err error)
ListByResourceGroup lists all the vpnServerConfigurations in a resource group. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration.
func (client VpnServerConfigurationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnServerConfigurationsResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnServerConfigurationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VpnServerConfigurationsClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnServerConfigurationsResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VpnServerConfigurationsClient) ListComplete(ctx context.Context) (result ListVpnServerConfigurationsResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnServerConfigurationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VpnServerConfigurationsClient) ListResponder(resp *http.Response) (result ListVpnServerConfigurationsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsClient) 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.
func (client VpnServerConfigurationsClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters TagsObject) (result VpnServerConfiguration, err error)
UpdateTags updates VpnServerConfiguration tags. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being updated. vpnServerConfigurationParameters - parameters supplied to update VpnServerConfiguration tags.
func (client VpnServerConfigurationsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VpnServerConfigurationsClient) UpdateTagsResponder(resp *http.Response) (result VpnServerConfiguration, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VpnServerConfigurationsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VpnServerConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnServerConfigurationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnServerConfigurationsClient) (VpnServerConfiguration, error) }
func (future *VpnServerConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnServerConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnServerConfigurationsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnServerConfigurationsClient) (autorest.Response, error) }
func (future *VpnServerConfigurationsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnServerConfigurationsResponse vpnServerConfigurations list associated with VirtualWan Response.
type VpnServerConfigurationsResponse struct { autorest.Response `json:"-"` // VpnServerConfigurationResourceIds - List of VpnServerConfigurations associated with VirtualWan. VpnServerConfigurationResourceIds *[]string `json:"vpnServerConfigurationResourceIds,omitempty"` }
VpnSite vpnSite Resource.
type VpnSite struct { autorest.Response `json:"-"` // VpnSiteProperties - Properties of the VPN site. *VpnSiteProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (vs VpnSite) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSite.
func (vs *VpnSite) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnSite struct.
VpnSiteID vpnSite Resource.
type VpnSiteID struct { // VpnSite - READ-ONLY; The resource-uri of the vpn-site for which config is to be fetched. VpnSite *string `json:"vpnSite,omitempty"` }
func (vsi VpnSiteID) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteID.
VpnSiteLink vpnSiteLink Resource.
type VpnSiteLink struct { autorest.Response `json:"-"` // VpnSiteLinkProperties - Properties of the VPN site link. *VpnSiteLinkProperties `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vsl VpnSiteLink) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteLink.
func (vsl *VpnSiteLink) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnSiteLink struct.
VpnSiteLinkConnection vpnSiteLinkConnection Resource.
type VpnSiteLinkConnection struct { autorest.Response `json:"-"` // VpnSiteLinkConnectionProperties - Properties of the VPN site link connection. *VpnSiteLinkConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
func (vslc VpnSiteLinkConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteLinkConnection.
func (vslc *VpnSiteLinkConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnSiteLinkConnection struct.
VpnSiteLinkConnectionProperties parameters for VpnConnection.
type VpnSiteLinkConnectionProperties struct { // VpnSiteLink - Id of the connected vpn site link. VpnSiteLink *SubResource `json:"vpnSiteLink,omitempty"` // RoutingWeight - Routing weight for vpn connection. RoutingWeight *int32 `json:"routingWeight,omitempty"` // VpnLinkConnectionMode - Vpn link connection mode. Possible values include: 'VpnLinkConnectionModeDefault', 'VpnLinkConnectionModeResponderOnly', 'VpnLinkConnectionModeInitiatorOnly' VpnLinkConnectionMode VpnLinkConnectionMode `json:"vpnLinkConnectionMode,omitempty"` // ConnectionStatus - The connection status. Possible values include: 'VpnConnectionStatusUnknown', 'VpnConnectionStatusConnecting', 'VpnConnectionStatusConnected', 'VpnConnectionStatusNotConnected' ConnectionStatus VpnConnectionStatus `json:"connectionStatus,omitempty"` // VpnConnectionProtocolType - Connection protocol used for this connection. Possible values include: 'VirtualNetworkGatewayConnectionProtocolIKEv2', 'VirtualNetworkGatewayConnectionProtocolIKEv1' VpnConnectionProtocolType VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` // IngressBytesTransferred - READ-ONLY; Ingress bytes transferred. IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // EgressBytesTransferred - READ-ONLY; Egress bytes transferred. EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // ConnectionBandwidth - Expected bandwidth in MBPS. ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"` // SharedKey - SharedKey for the vpn connection. SharedKey *string `json:"sharedKey,omitempty"` // EnableBgp - EnableBgp flag. EnableBgp *bool `json:"enableBgp,omitempty"` // VpnGatewayCustomBgpAddresses - vpnGatewayCustomBgpAddresses used by this connection. VpnGatewayCustomBgpAddresses *[]GatewayCustomBgpIPAddressIPConfiguration `json:"vpnGatewayCustomBgpAddresses,omitempty"` // UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors. UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` // IpsecPolicies - The IPSec Policies to be considered by this connection. IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"` // EnableRateLimiting - EnableBgp flag. EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` // UseLocalAzureIPAddress - Use local azure ip to initiate connection. UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN site link connection resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // IngressNatRules - List of ingress NatRules. IngressNatRules *[]SubResource `json:"ingressNatRules,omitempty"` // EgressNatRules - List of egress NatRules. EgressNatRules *[]SubResource `json:"egressNatRules,omitempty"` }
func (vslcp VpnSiteLinkConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteLinkConnectionProperties.
VpnSiteLinkConnectionsClient is the network Client
type VpnSiteLinkConnectionsClient struct { BaseClient }
func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectionsClient
NewVpnSiteLinkConnectionsClient creates an instance of the VpnSiteLinkConnectionsClient client.
func NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient
NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnSiteLinkConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (result VpnSiteLinkConnection, err error)
Get retrieves the details of a vpn site link connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection. linkConnectionName - the name of the vpn connection.
func (client VpnSiteLinkConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnSiteLinkConnectionsClient) GetResponder(resp *http.Response) (result VpnSiteLinkConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnSiteLinkConnectionsClient) 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.
VpnSiteLinkProperties parameters for VpnSite.
type VpnSiteLinkProperties struct { // LinkProperties - The link provider properties. LinkProperties *VpnLinkProviderProperties `json:"linkProperties,omitempty"` // IPAddress - The ip-address for the vpn-site-link. IPAddress *string `json:"ipAddress,omitempty"` // Fqdn - FQDN of vpn-site-link. Fqdn *string `json:"fqdn,omitempty"` // BgpProperties - The set of bgp properties. BgpProperties *VpnLinkBgpSettings `json:"bgpProperties,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN site link resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (vslp VpnSiteLinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteLinkProperties.
VpnSiteLinksClient is the network Client
type VpnSiteLinksClient struct { BaseClient }
func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient
NewVpnSiteLinksClient creates an instance of the VpnSiteLinksClient client.
func NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient
NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnSiteLinksClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) (result VpnSiteLink, err error)
Get retrieves the details of a VPN site link. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite. vpnSiteLinkName - the name of the VpnSiteLink being retrieved.
func (client VpnSiteLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnSiteLinksClient) GetResponder(resp *http.Response) (result VpnSiteLink, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnSiteLinksClient) 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 VpnSiteLinksClient) ListByVpnSite(ctx context.Context, resourceGroupName string, vpnSiteName string) (result ListVpnSiteLinksResultPage, err error)
ListByVpnSite lists all the vpnSiteLinks in a resource group for a vpn site. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite.
func (client VpnSiteLinksClient) ListByVpnSiteComplete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result ListVpnSiteLinksResultIterator, err error)
ListByVpnSiteComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnSiteLinksClient) ListByVpnSitePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)
ListByVpnSitePreparer prepares the ListByVpnSite request.
func (client VpnSiteLinksClient) ListByVpnSiteResponder(resp *http.Response) (result ListVpnSiteLinksResult, err error)
ListByVpnSiteResponder handles the response to the ListByVpnSite request. The method always closes the http.Response Body.
func (client VpnSiteLinksClient) ListByVpnSiteSender(req *http.Request) (*http.Response, error)
ListByVpnSiteSender sends the ListByVpnSite request. The method will close the http.Response Body if it receives an error.
VpnSiteProperties parameters for VpnSite.
type VpnSiteProperties struct { // VirtualWan - The VirtualWAN to which the vpnSite belongs. VirtualWan *SubResource `json:"virtualWan,omitempty"` // DeviceProperties - The device properties. DeviceProperties *DeviceProperties `json:"deviceProperties,omitempty"` // IPAddress - The ip-address for the vpn-site. IPAddress *string `json:"ipAddress,omitempty"` // SiteKey - The key for vpn-site that can be used for connections. SiteKey *string `json:"siteKey,omitempty"` // AddressSpace - The AddressSpace that contains an array of IP address ranges. AddressSpace *AddressSpace `json:"addressSpace,omitempty"` // BgpProperties - The set of bgp properties. BgpProperties *BgpSettings `json:"bgpProperties,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the VPN site resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // IsSecuritySite - IsSecuritySite flag. IsSecuritySite *bool `json:"isSecuritySite,omitempty"` // VpnSiteLinks - List of all vpn site links. VpnSiteLinks *[]VpnSiteLink `json:"vpnSiteLinks,omitempty"` // O365Policy - Office365 Policy. O365Policy *O365PolicyProperties `json:"o365Policy,omitempty"` }
func (vsp VpnSiteProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnSiteProperties.
VpnSitesClient is the network Client
type VpnSitesClient struct { BaseClient }
func NewVpnSitesClient(subscriptionID string) VpnSitesClient
NewVpnSitesClient creates an instance of the VpnSitesClient client.
func NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient
NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (result VpnSitesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being created or updated. vpnSiteParameters - parameters supplied to create or update VpnSite.
func (client VpnSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client VpnSitesClient) CreateOrUpdateResponder(resp *http.Response) (result VpnSite, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client VpnSitesClient) CreateOrUpdateSender(req *http.Request) (future VpnSitesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client VpnSitesClient) Delete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result VpnSitesDeleteFuture, err error)
Delete deletes a VpnSite. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being deleted.
func (client VpnSitesClient) DeletePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client VpnSitesClient) 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 VpnSitesClient) DeleteSender(req *http.Request) (future VpnSitesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client VpnSitesClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string) (result VpnSite, err error)
Get retrieves the details of a VPN site. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being retrieved.
func (client VpnSitesClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client VpnSitesClient) GetResponder(resp *http.Response) (result VpnSite, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client VpnSitesClient) 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 VpnSitesClient) List(ctx context.Context) (result ListVpnSitesResultPage, err error)
List lists all the VpnSites in a subscription.
func (client VpnSitesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnSitesResultPage, err error)
ListByResourceGroup lists all the vpnSites in a resource group. Parameters: resourceGroupName - the resource group name of the VpnSite.
func (client VpnSitesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnSitesResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnSitesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client VpnSitesClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnSitesResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client VpnSitesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client VpnSitesClient) ListComplete(ctx context.Context) (result ListVpnSitesResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client VpnSitesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client VpnSitesClient) ListResponder(resp *http.Response) (result ListVpnSitesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client VpnSitesClient) 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.
func (client VpnSitesClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters TagsObject) (result VpnSite, err error)
UpdateTags updates VpnSite tags. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being updated. vpnSiteParameters - parameters supplied to update VpnSite tags.
func (client VpnSitesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client VpnSitesClient) UpdateTagsResponder(resp *http.Response) (result VpnSite, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client VpnSitesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
VpnSitesConfigurationClient is the network Client
type VpnSitesConfigurationClient struct { BaseClient }
func NewVpnSitesConfigurationClient(subscriptionID string) VpnSitesConfigurationClient
NewVpnSitesConfigurationClient creates an instance of the VpnSitesConfigurationClient client.
func NewVpnSitesConfigurationClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesConfigurationClient
NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client VpnSitesConfigurationClient) Download(ctx context.Context, resourceGroupName string, virtualWANName string, request GetVpnSitesConfigurationRequest) (result VpnSitesConfigurationDownloadFuture, err error)
Download gives the sas-url to download the configurations for vpn-sites in a resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN for which configuration of all vpn-sites is needed. request - parameters supplied to download vpn-sites configuration.
func (client VpnSitesConfigurationClient) DownloadPreparer(ctx context.Context, resourceGroupName string, virtualWANName string, request GetVpnSitesConfigurationRequest) (*http.Request, error)
DownloadPreparer prepares the Download request.
func (client VpnSitesConfigurationClient) DownloadResponder(resp *http.Response) (result autorest.Response, err error)
DownloadResponder handles the response to the Download request. The method always closes the http.Response Body.
func (client VpnSitesConfigurationClient) DownloadSender(req *http.Request) (future VpnSitesConfigurationDownloadFuture, err error)
DownloadSender sends the Download request. The method will close the http.Response Body if it receives an error.
VpnSitesConfigurationDownloadFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnSitesConfigurationDownloadFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnSitesConfigurationClient) (autorest.Response, error) }
func (future *VpnSitesConfigurationDownloadFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnSitesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnSitesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnSitesClient) (VpnSite, error) }
func (future *VpnSitesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnSitesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type VpnSitesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VpnSitesClient) (autorest.Response, error) }
func (future *VpnSitesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
VpnType enumerates the values for vpn type.
type VpnType string
const ( // VpnTypePolicyBased ... VpnTypePolicyBased VpnType = "PolicyBased" // VpnTypeRouteBased ... VpnTypeRouteBased VpnType = "RouteBased" )
func PossibleVpnTypeValues() []VpnType
PossibleVpnTypeValues returns an array of possible values for the VpnType const type.
Watcher network watcher in a resource group.
type Watcher struct { autorest.Response `json:"-"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // WatcherPropertiesFormat - Properties of the network watcher. *WatcherPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (w Watcher) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Watcher.
func (w *Watcher) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Watcher struct.
WatcherListResult response for ListNetworkWatchers API service call.
type WatcherListResult struct { autorest.Response `json:"-"` // Value - List of network watcher resources. Value *[]Watcher `json:"value,omitempty"` }
WatcherPropertiesFormat the network watcher properties.
type WatcherPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the network watcher resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (wpf WatcherPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WatcherPropertiesFormat.
WatchersCheckConnectivityFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersCheckConnectivityFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (ConnectivityInformation, error) }
func (future *WatchersCheckConnectivityFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersClient is the network Client
type WatchersClient struct { BaseClient }
func NewWatchersClient(subscriptionID string) WatchersClient
NewWatchersClient creates an instance of the WatchersClient client.
func NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) WatchersClient
NewWatchersClientWithBaseURI creates an instance of the WatchersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client WatchersClient) CheckConnectivity(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters) (result WatchersCheckConnectivityFuture, err error)
CheckConnectivity verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that determine how the connectivity check will be performed.
func (client WatchersClient) CheckConnectivityPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters) (*http.Request, error)
CheckConnectivityPreparer prepares the CheckConnectivity request.
func (client WatchersClient) CheckConnectivityResponder(resp *http.Response) (result ConnectivityInformation, err error)
CheckConnectivityResponder handles the response to the CheckConnectivity request. The method always closes the http.Response Body.
func (client WatchersClient) CheckConnectivitySender(req *http.Request) (future WatchersCheckConnectivityFuture, err error)
CheckConnectivitySender sends the CheckConnectivity request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters Watcher) (result Watcher, err error)
CreateOrUpdate creates or updates a network watcher in the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the network watcher resource.
func (client WatchersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters Watcher) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client WatchersClient) CreateOrUpdateResponder(resp *http.Response) (result Watcher, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client WatchersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string) (result WatchersDeleteFuture, err error)
Delete deletes the specified network watcher resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher.
func (client WatchersClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client WatchersClient) 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 WatchersClient) DeleteSender(req *http.Request) (future WatchersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string) (result Watcher, err error)
Get gets the specified network watcher by resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher.
func (client WatchersClient) GetAzureReachabilityReport(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters) (result WatchersGetAzureReachabilityReportFuture, err error)
GetAzureReachabilityReport nOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that determine Azure reachability report configuration.
func (client WatchersClient) GetAzureReachabilityReportPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters) (*http.Request, error)
GetAzureReachabilityReportPreparer prepares the GetAzureReachabilityReport request.
func (client WatchersClient) GetAzureReachabilityReportResponder(resp *http.Response) (result AzureReachabilityReport, err error)
GetAzureReachabilityReportResponder handles the response to the GetAzureReachabilityReport request. The method always closes the http.Response Body.
func (client WatchersClient) GetAzureReachabilityReportSender(req *http.Request) (future WatchersGetAzureReachabilityReportFuture, err error)
GetAzureReachabilityReportSender sends the GetAzureReachabilityReport request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetFlowLogStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (result WatchersGetFlowLogStatusFuture, err error)
GetFlowLogStatus queries status of flow log and traffic analytics (optional) on a specified resource. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define a resource to query flow log and traffic analytics (optional) status.
func (client WatchersClient) GetFlowLogStatusPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (*http.Request, error)
GetFlowLogStatusPreparer prepares the GetFlowLogStatus request.
func (client WatchersClient) GetFlowLogStatusResponder(resp *http.Response) (result FlowLogInformation, err error)
GetFlowLogStatusResponder handles the response to the GetFlowLogStatus request. The method always closes the http.Response Body.
func (client WatchersClient) GetFlowLogStatusSender(req *http.Request) (future WatchersGetFlowLogStatusFuture, err error)
GetFlowLogStatusSender sends the GetFlowLogStatus request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetNetworkConfigurationDiagnostic(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConfigurationDiagnosticParameters) (result WatchersGetNetworkConfigurationDiagnosticFuture, err error)
GetNetworkConfigurationDiagnostic gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters to get network configuration diagnostic.
func (client WatchersClient) GetNetworkConfigurationDiagnosticPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConfigurationDiagnosticParameters) (*http.Request, error)
GetNetworkConfigurationDiagnosticPreparer prepares the GetNetworkConfigurationDiagnostic request.
func (client WatchersClient) GetNetworkConfigurationDiagnosticResponder(resp *http.Response) (result ConfigurationDiagnosticResponse, err error)
GetNetworkConfigurationDiagnosticResponder handles the response to the GetNetworkConfigurationDiagnostic request. The method always closes the http.Response Body.
func (client WatchersClient) GetNetworkConfigurationDiagnosticSender(req *http.Request) (future WatchersGetNetworkConfigurationDiagnosticFuture, err error)
GetNetworkConfigurationDiagnosticSender sends the GetNetworkConfigurationDiagnostic request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetNextHop(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters) (result WatchersGetNextHopFuture, err error)
GetNextHop gets the next hop from the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the source and destination endpoint.
func (client WatchersClient) GetNextHopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters) (*http.Request, error)
GetNextHopPreparer prepares the GetNextHop request.
func (client WatchersClient) GetNextHopResponder(resp *http.Response) (result NextHopResult, err error)
GetNextHopResponder handles the response to the GetNextHop request. The method always closes the http.Response Body.
func (client WatchersClient) GetNextHopSender(req *http.Request) (future WatchersGetNextHopFuture, err error)
GetNextHopSender sends the GetNextHop request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client WatchersClient) GetResponder(resp *http.Response) (result Watcher, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client WatchersClient) 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 WatchersClient) GetTopology(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (result Topology, err error)
GetTopology gets the current network topology by resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the representation of topology.
func (client WatchersClient) GetTopologyPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (*http.Request, error)
GetTopologyPreparer prepares the GetTopology request.
func (client WatchersClient) GetTopologyResponder(resp *http.Response) (result Topology, err error)
GetTopologyResponder handles the response to the GetTopology request. The method always closes the http.Response Body.
func (client WatchersClient) GetTopologySender(req *http.Request) (*http.Response, error)
GetTopologySender sends the GetTopology request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetTroubleshooting(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters) (result WatchersGetTroubleshootingFuture, err error)
GetTroubleshooting initiate troubleshooting on a specified resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the resource to troubleshoot.
func (client WatchersClient) GetTroubleshootingPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters) (*http.Request, error)
GetTroubleshootingPreparer prepares the GetTroubleshooting request.
func (client WatchersClient) GetTroubleshootingResponder(resp *http.Response) (result TroubleshootingResult, err error)
GetTroubleshootingResponder handles the response to the GetTroubleshooting request. The method always closes the http.Response Body.
func (client WatchersClient) GetTroubleshootingResult(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters) (result WatchersGetTroubleshootingResultFuture, err error)
GetTroubleshootingResult get the last completed troubleshooting result on a specified resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the resource to query the troubleshooting result.
func (client WatchersClient) GetTroubleshootingResultPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters) (*http.Request, error)
GetTroubleshootingResultPreparer prepares the GetTroubleshootingResult request.
func (client WatchersClient) GetTroubleshootingResultResponder(resp *http.Response) (result TroubleshootingResult, err error)
GetTroubleshootingResultResponder handles the response to the GetTroubleshootingResult request. The method always closes the http.Response Body.
func (client WatchersClient) GetTroubleshootingResultSender(req *http.Request) (future WatchersGetTroubleshootingResultFuture, err error)
GetTroubleshootingResultSender sends the GetTroubleshootingResult request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetTroubleshootingSender(req *http.Request) (future WatchersGetTroubleshootingFuture, err error)
GetTroubleshootingSender sends the GetTroubleshooting request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) GetVMSecurityRules(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters) (result WatchersGetVMSecurityRulesFuture, err error)
GetVMSecurityRules gets the configured and effective security group rules on the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the VM to check security groups for.
func (client WatchersClient) GetVMSecurityRulesPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters) (*http.Request, error)
GetVMSecurityRulesPreparer prepares the GetVMSecurityRules request.
func (client WatchersClient) GetVMSecurityRulesResponder(resp *http.Response) (result SecurityGroupViewResult, err error)
GetVMSecurityRulesResponder handles the response to the GetVMSecurityRules request. The method always closes the http.Response Body.
func (client WatchersClient) GetVMSecurityRulesSender(req *http.Request) (future WatchersGetVMSecurityRulesFuture, err error)
GetVMSecurityRulesSender sends the GetVMSecurityRules request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) List(ctx context.Context, resourceGroupName string) (result WatcherListResult, err error)
List gets all network watchers by resource group. Parameters: resourceGroupName - the name of the resource group.
func (client WatchersClient) ListAll(ctx context.Context) (result WatcherListResult, err error)
ListAll gets all network watchers by subscription.
func (client WatchersClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client WatchersClient) ListAllResponder(resp *http.Response) (result WatcherListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client WatchersClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) ListAvailableProviders(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters) (result WatchersListAvailableProvidersFuture, err error)
ListAvailableProviders nOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that scope the list of available providers.
func (client WatchersClient) ListAvailableProvidersPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters) (*http.Request, error)
ListAvailableProvidersPreparer prepares the ListAvailableProviders request.
func (client WatchersClient) ListAvailableProvidersResponder(resp *http.Response) (result AvailableProvidersList, err error)
ListAvailableProvidersResponder handles the response to the ListAvailableProviders request. The method always closes the http.Response Body.
func (client WatchersClient) ListAvailableProvidersSender(req *http.Request) (future WatchersListAvailableProvidersFuture, err error)
ListAvailableProvidersSender sends the ListAvailableProviders request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client WatchersClient) ListResponder(resp *http.Response) (result WatcherListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client WatchersClient) 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.
func (client WatchersClient) SetFlowLogConfiguration(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation) (result WatchersSetFlowLogConfigurationFuture, err error)
SetFlowLogConfiguration configures flow log and traffic analytics (optional) on a specified resource. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the configuration of flow log.
func (client WatchersClient) SetFlowLogConfigurationPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation) (*http.Request, error)
SetFlowLogConfigurationPreparer prepares the SetFlowLogConfiguration request.
func (client WatchersClient) SetFlowLogConfigurationResponder(resp *http.Response) (result FlowLogInformation, err error)
SetFlowLogConfigurationResponder handles the response to the SetFlowLogConfiguration request. The method always closes the http.Response Body.
func (client WatchersClient) SetFlowLogConfigurationSender(req *http.Request) (future WatchersSetFlowLogConfigurationFuture, err error)
SetFlowLogConfigurationSender sends the SetFlowLogConfiguration request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject) (result Watcher, err error)
UpdateTags updates a network watcher tags. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters supplied to update network watcher tags.
func (client WatchersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (client WatchersClient) UpdateTagsResponder(resp *http.Response) (result Watcher, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (client WatchersClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
func (client WatchersClient) VerifyIPFlow(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters) (result WatchersVerifyIPFlowFuture, err error)
VerifyIPFlow verify IP flow from the specified VM to a location given the currently configured NSG rules. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the IP flow to be verified.
func (client WatchersClient) VerifyIPFlowPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters) (*http.Request, error)
VerifyIPFlowPreparer prepares the VerifyIPFlow request.
func (client WatchersClient) VerifyIPFlowResponder(resp *http.Response) (result VerificationIPFlowResult, err error)
VerifyIPFlowResponder handles the response to the VerifyIPFlow request. The method always closes the http.Response Body.
func (client WatchersClient) VerifyIPFlowSender(req *http.Request) (future WatchersVerifyIPFlowFuture, err error)
VerifyIPFlowSender sends the VerifyIPFlow request. The method will close the http.Response Body if it receives an error.
WatchersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (autorest.Response, error) }
func (future *WatchersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetAzureReachabilityReportFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetAzureReachabilityReportFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (AzureReachabilityReport, error) }
func (future *WatchersGetAzureReachabilityReportFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetFlowLogStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetFlowLogStatusFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (FlowLogInformation, error) }
func (future *WatchersGetFlowLogStatusFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetNetworkConfigurationDiagnosticFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetNetworkConfigurationDiagnosticFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (ConfigurationDiagnosticResponse, error) }
func (future *WatchersGetNetworkConfigurationDiagnosticFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetNextHopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetNextHopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (NextHopResult, error) }
func (future *WatchersGetNextHopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetTroubleshootingFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetTroubleshootingFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (TroubleshootingResult, error) }
func (future *WatchersGetTroubleshootingFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetTroubleshootingResultFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetTroubleshootingResultFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (TroubleshootingResult, error) }
func (future *WatchersGetTroubleshootingResultFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersGetVMSecurityRulesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersGetVMSecurityRulesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (SecurityGroupViewResult, error) }
func (future *WatchersGetVMSecurityRulesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersListAvailableProvidersFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersListAvailableProvidersFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (AvailableProvidersList, error) }
func (future *WatchersListAvailableProvidersFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersSetFlowLogConfigurationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersSetFlowLogConfigurationFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (FlowLogInformation, error) }
func (future *WatchersSetFlowLogConfigurationFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WatchersVerifyIPFlowFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WatchersVerifyIPFlowFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WatchersClient) (VerificationIPFlowResult, error) }
func (future *WatchersVerifyIPFlowFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WebApplicationFirewallAction enumerates the values for web application firewall action.
type WebApplicationFirewallAction string
const ( // WebApplicationFirewallActionAllow ... WebApplicationFirewallActionAllow WebApplicationFirewallAction = "Allow" // WebApplicationFirewallActionBlock ... WebApplicationFirewallActionBlock WebApplicationFirewallAction = "Block" // WebApplicationFirewallActionLog ... WebApplicationFirewallActionLog WebApplicationFirewallAction = "Log" )
func PossibleWebApplicationFirewallActionValues() []WebApplicationFirewallAction
PossibleWebApplicationFirewallActionValues returns an array of possible values for the WebApplicationFirewallAction const type.
WebApplicationFirewallCustomRule defines contents of a web application rule.
type WebApplicationFirewallCustomRule struct { // Name - The name of the resource that is unique within a policy. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Priority - Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Priority *int32 `json:"priority,omitempty"` // RuleType - The rule type. Possible values include: 'WebApplicationFirewallRuleTypeMatchRule', 'WebApplicationFirewallRuleTypeInvalid' RuleType WebApplicationFirewallRuleType `json:"ruleType,omitempty"` // MatchConditions - List of match conditions. MatchConditions *[]MatchCondition `json:"matchConditions,omitempty"` // Action - Type of Actions. Possible values include: 'WebApplicationFirewallActionAllow', 'WebApplicationFirewallActionBlock', 'WebApplicationFirewallActionLog' Action WebApplicationFirewallAction `json:"action,omitempty"` }
func (wafcr WebApplicationFirewallCustomRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplicationFirewallCustomRule.
WebApplicationFirewallEnabledState enumerates the values for web application firewall enabled state.
type WebApplicationFirewallEnabledState string
const ( // WebApplicationFirewallEnabledStateDisabled ... WebApplicationFirewallEnabledStateDisabled WebApplicationFirewallEnabledState = "Disabled" // WebApplicationFirewallEnabledStateEnabled ... WebApplicationFirewallEnabledStateEnabled WebApplicationFirewallEnabledState = "Enabled" )
func PossibleWebApplicationFirewallEnabledStateValues() []WebApplicationFirewallEnabledState
PossibleWebApplicationFirewallEnabledStateValues returns an array of possible values for the WebApplicationFirewallEnabledState const type.
WebApplicationFirewallMatchVariable enumerates the values for web application firewall match variable.
type WebApplicationFirewallMatchVariable string
const ( // WebApplicationFirewallMatchVariablePostArgs ... WebApplicationFirewallMatchVariablePostArgs WebApplicationFirewallMatchVariable = "PostArgs" // WebApplicationFirewallMatchVariableQueryString ... WebApplicationFirewallMatchVariableQueryString WebApplicationFirewallMatchVariable = "QueryString" // WebApplicationFirewallMatchVariableRemoteAddr ... WebApplicationFirewallMatchVariableRemoteAddr WebApplicationFirewallMatchVariable = "RemoteAddr" // WebApplicationFirewallMatchVariableRequestBody ... WebApplicationFirewallMatchVariableRequestBody WebApplicationFirewallMatchVariable = "RequestBody" // WebApplicationFirewallMatchVariableRequestCookies ... WebApplicationFirewallMatchVariableRequestCookies WebApplicationFirewallMatchVariable = "RequestCookies" // WebApplicationFirewallMatchVariableRequestHeaders ... WebApplicationFirewallMatchVariableRequestHeaders WebApplicationFirewallMatchVariable = "RequestHeaders" // WebApplicationFirewallMatchVariableRequestMethod ... WebApplicationFirewallMatchVariableRequestMethod WebApplicationFirewallMatchVariable = "RequestMethod" // WebApplicationFirewallMatchVariableRequestURI ... WebApplicationFirewallMatchVariableRequestURI WebApplicationFirewallMatchVariable = "RequestUri" )
func PossibleWebApplicationFirewallMatchVariableValues() []WebApplicationFirewallMatchVariable
PossibleWebApplicationFirewallMatchVariableValues returns an array of possible values for the WebApplicationFirewallMatchVariable const type.
WebApplicationFirewallMode enumerates the values for web application firewall mode.
type WebApplicationFirewallMode string
const ( // WebApplicationFirewallModeDetection ... WebApplicationFirewallModeDetection WebApplicationFirewallMode = "Detection" // WebApplicationFirewallModePrevention ... WebApplicationFirewallModePrevention WebApplicationFirewallMode = "Prevention" )
func PossibleWebApplicationFirewallModeValues() []WebApplicationFirewallMode
PossibleWebApplicationFirewallModeValues returns an array of possible values for the WebApplicationFirewallMode const type.
WebApplicationFirewallOperator enumerates the values for web application firewall operator.
type WebApplicationFirewallOperator string
const ( // WebApplicationFirewallOperatorBeginsWith ... WebApplicationFirewallOperatorBeginsWith WebApplicationFirewallOperator = "BeginsWith" // WebApplicationFirewallOperatorContains ... WebApplicationFirewallOperatorContains WebApplicationFirewallOperator = "Contains" // WebApplicationFirewallOperatorEndsWith ... WebApplicationFirewallOperatorEndsWith WebApplicationFirewallOperator = "EndsWith" // WebApplicationFirewallOperatorEqual ... WebApplicationFirewallOperatorEqual WebApplicationFirewallOperator = "Equal" // WebApplicationFirewallOperatorGeoMatch ... WebApplicationFirewallOperatorGeoMatch WebApplicationFirewallOperator = "GeoMatch" // WebApplicationFirewallOperatorGreaterThan ... WebApplicationFirewallOperatorGreaterThan WebApplicationFirewallOperator = "GreaterThan" // WebApplicationFirewallOperatorGreaterThanOrEqual ... WebApplicationFirewallOperatorGreaterThanOrEqual WebApplicationFirewallOperator = "GreaterThanOrEqual" // WebApplicationFirewallOperatorIPMatch ... WebApplicationFirewallOperatorIPMatch WebApplicationFirewallOperator = "IPMatch" // WebApplicationFirewallOperatorLessThan ... WebApplicationFirewallOperatorLessThan WebApplicationFirewallOperator = "LessThan" // WebApplicationFirewallOperatorLessThanOrEqual ... WebApplicationFirewallOperatorLessThanOrEqual WebApplicationFirewallOperator = "LessThanOrEqual" // WebApplicationFirewallOperatorRegex ... WebApplicationFirewallOperatorRegex WebApplicationFirewallOperator = "Regex" )
func PossibleWebApplicationFirewallOperatorValues() []WebApplicationFirewallOperator
PossibleWebApplicationFirewallOperatorValues returns an array of possible values for the WebApplicationFirewallOperator const type.
WebApplicationFirewallPoliciesClient is the network Client
type WebApplicationFirewallPoliciesClient struct { BaseClient }
func NewWebApplicationFirewallPoliciesClient(subscriptionID string) WebApplicationFirewallPoliciesClient
NewWebApplicationFirewallPoliciesClient creates an instance of the WebApplicationFirewallPoliciesClient client.
func NewWebApplicationFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) WebApplicationFirewallPoliciesClient
NewWebApplicationFirewallPoliciesClientWithBaseURI creates an instance of the WebApplicationFirewallPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client WebApplicationFirewallPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (result WebApplicationFirewallPolicy, err error)
CreateOrUpdate creates or update policy with specified rule set name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy. parameters - policy to be created.
func (client WebApplicationFirewallPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client WebApplicationFirewallPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client WebApplicationFirewallPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client WebApplicationFirewallPoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPoliciesDeleteFuture, err error)
Delete deletes Policy. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy.
func (client WebApplicationFirewallPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client WebApplicationFirewallPoliciesClient) 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 WebApplicationFirewallPoliciesClient) DeleteSender(req *http.Request) (future WebApplicationFirewallPoliciesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client WebApplicationFirewallPoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy, err error)
Get retrieve protection policy with specified name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy.
func (client WebApplicationFirewallPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client WebApplicationFirewallPoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client WebApplicationFirewallPoliciesClient) 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 WebApplicationFirewallPoliciesClient) List(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultPage, err error)
List lists all of the protection policies within a resource group. Parameters: resourceGroupName - the name of the resource group.
func (client WebApplicationFirewallPoliciesClient) ListAll(ctx context.Context) (result WebApplicationFirewallPolicyListResultPage, err error)
ListAll gets all the WAF policies in a subscription.
func (client WebApplicationFirewallPoliciesClient) ListAllComplete(ctx context.Context) (result WebApplicationFirewallPolicyListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (client WebApplicationFirewallPoliciesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (client WebApplicationFirewallPoliciesClient) ListAllResponder(resp *http.Response) (result WebApplicationFirewallPolicyListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (client WebApplicationFirewallPoliciesClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (client WebApplicationFirewallPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client WebApplicationFirewallPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (client WebApplicationFirewallPoliciesClient) ListResponder(resp *http.Response) (result WebApplicationFirewallPolicyListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client WebApplicationFirewallPoliciesClient) 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.
WebApplicationFirewallPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type WebApplicationFirewallPoliciesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WebApplicationFirewallPoliciesClient) (autorest.Response, error) }
func (future *WebApplicationFirewallPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
WebApplicationFirewallPolicy defines web application firewall policy.
type WebApplicationFirewallPolicy struct { autorest.Response `json:"-"` // WebApplicationFirewallPolicyPropertiesFormat - Properties of the web application firewall policy. *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (wafp WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy.
func (wafp *WebApplicationFirewallPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy struct.
WebApplicationFirewallPolicyListResult result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.
type WebApplicationFirewallPolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of WebApplicationFirewallPolicies within a resource group. Value *[]WebApplicationFirewallPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; URL to get the next set of WebApplicationFirewallPolicy objects if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (wafplr WebApplicationFirewallPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (wafplr WebApplicationFirewallPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyListResult.
WebApplicationFirewallPolicyListResultIterator provides access to a complete listing of WebApplicationFirewallPolicy values.
type WebApplicationFirewallPolicyListResultIterator struct {
// contains filtered or unexported fields
}
func NewWebApplicationFirewallPolicyListResultIterator(page WebApplicationFirewallPolicyListResultPage) WebApplicationFirewallPolicyListResultIterator
Creates a new instance of the WebApplicationFirewallPolicyListResultIterator type.
func (iter *WebApplicationFirewallPolicyListResultIterator) 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 *WebApplicationFirewallPolicyListResultIterator) 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 WebApplicationFirewallPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter WebApplicationFirewallPolicyListResultIterator) Response() WebApplicationFirewallPolicyListResult
Response returns the raw server response from the last page request.
func (iter WebApplicationFirewallPolicyListResultIterator) Value() WebApplicationFirewallPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
WebApplicationFirewallPolicyListResultPage contains a page of WebApplicationFirewallPolicy values.
type WebApplicationFirewallPolicyListResultPage struct {
// contains filtered or unexported fields
}
func NewWebApplicationFirewallPolicyListResultPage(cur WebApplicationFirewallPolicyListResult, getNextPage func(context.Context, WebApplicationFirewallPolicyListResult) (WebApplicationFirewallPolicyListResult, error)) WebApplicationFirewallPolicyListResultPage
Creates a new instance of the WebApplicationFirewallPolicyListResultPage type.
func (page *WebApplicationFirewallPolicyListResultPage) 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 *WebApplicationFirewallPolicyListResultPage) 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 WebApplicationFirewallPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page WebApplicationFirewallPolicyListResultPage) Response() WebApplicationFirewallPolicyListResult
Response returns the raw server response from the last page request.
func (page WebApplicationFirewallPolicyListResultPage) Values() []WebApplicationFirewallPolicy
Values returns the slice of values for the current page or nil if there are no values.
WebApplicationFirewallPolicyPropertiesFormat defines web application firewall policy properties.
type WebApplicationFirewallPolicyPropertiesFormat struct { // PolicySettings - The PolicySettings for policy. PolicySettings *PolicySettings `json:"policySettings,omitempty"` // CustomRules - The custom rules inside the policy. CustomRules *[]WebApplicationFirewallCustomRule `json:"customRules,omitempty"` // ApplicationGateways - READ-ONLY; A collection of references to application gateways. ApplicationGateways *[]ApplicationGateway `json:"applicationGateways,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the web application firewall policy resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceState - READ-ONLY; Resource status of the policy. Possible values include: 'WebApplicationFirewallPolicyResourceStateCreating', 'WebApplicationFirewallPolicyResourceStateEnabling', 'WebApplicationFirewallPolicyResourceStateEnabled', 'WebApplicationFirewallPolicyResourceStateDisabling', 'WebApplicationFirewallPolicyResourceStateDisabled', 'WebApplicationFirewallPolicyResourceStateDeleting' ResourceState WebApplicationFirewallPolicyResourceState `json:"resourceState,omitempty"` // ManagedRules - Describes the managedRules structure. ManagedRules *ManagedRulesDefinition `json:"managedRules,omitempty"` // HTTPListeners - READ-ONLY; A collection of references to application gateway http listeners. HTTPListeners *[]SubResource `json:"httpListeners,omitempty"` // PathBasedRules - READ-ONLY; A collection of references to application gateway path rules. PathBasedRules *[]SubResource `json:"pathBasedRules,omitempty"` }
func (wafppf WebApplicationFirewallPolicyPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyPropertiesFormat.
WebApplicationFirewallPolicyResourceState enumerates the values for web application firewall policy resource state.
type WebApplicationFirewallPolicyResourceState string
const ( // WebApplicationFirewallPolicyResourceStateCreating ... WebApplicationFirewallPolicyResourceStateCreating WebApplicationFirewallPolicyResourceState = "Creating" // WebApplicationFirewallPolicyResourceStateDeleting ... WebApplicationFirewallPolicyResourceStateDeleting WebApplicationFirewallPolicyResourceState = "Deleting" // WebApplicationFirewallPolicyResourceStateDisabled ... WebApplicationFirewallPolicyResourceStateDisabled WebApplicationFirewallPolicyResourceState = "Disabled" // WebApplicationFirewallPolicyResourceStateDisabling ... WebApplicationFirewallPolicyResourceStateDisabling WebApplicationFirewallPolicyResourceState = "Disabling" // WebApplicationFirewallPolicyResourceStateEnabled ... WebApplicationFirewallPolicyResourceStateEnabled WebApplicationFirewallPolicyResourceState = "Enabled" // WebApplicationFirewallPolicyResourceStateEnabling ... WebApplicationFirewallPolicyResourceStateEnabling WebApplicationFirewallPolicyResourceState = "Enabling" )
func PossibleWebApplicationFirewallPolicyResourceStateValues() []WebApplicationFirewallPolicyResourceState
PossibleWebApplicationFirewallPolicyResourceStateValues returns an array of possible values for the WebApplicationFirewallPolicyResourceState const type.
WebApplicationFirewallRuleType enumerates the values for web application firewall rule type.
type WebApplicationFirewallRuleType string
const ( // WebApplicationFirewallRuleTypeInvalid ... WebApplicationFirewallRuleTypeInvalid WebApplicationFirewallRuleType = "Invalid" // WebApplicationFirewallRuleTypeMatchRule ... WebApplicationFirewallRuleTypeMatchRule WebApplicationFirewallRuleType = "MatchRule" )
func PossibleWebApplicationFirewallRuleTypeValues() []WebApplicationFirewallRuleType
PossibleWebApplicationFirewallRuleTypeValues returns an array of possible values for the WebApplicationFirewallRuleType const type.
WebApplicationFirewallTransform enumerates the values for web application firewall transform.
type WebApplicationFirewallTransform string
const ( // WebApplicationFirewallTransformHTMLEntityDecode ... WebApplicationFirewallTransformHTMLEntityDecode WebApplicationFirewallTransform = "HtmlEntityDecode" // WebApplicationFirewallTransformLowercase ... WebApplicationFirewallTransformLowercase WebApplicationFirewallTransform = "Lowercase" // WebApplicationFirewallTransformRemoveNulls ... WebApplicationFirewallTransformRemoveNulls WebApplicationFirewallTransform = "RemoveNulls" // WebApplicationFirewallTransformTrim ... WebApplicationFirewallTransformTrim WebApplicationFirewallTransform = "Trim" // WebApplicationFirewallTransformURLDecode ... WebApplicationFirewallTransformURLDecode WebApplicationFirewallTransform = "UrlDecode" // WebApplicationFirewallTransformURLEncode ... WebApplicationFirewallTransformURLEncode WebApplicationFirewallTransform = "UrlEncode" )
func PossibleWebApplicationFirewallTransformValues() []WebApplicationFirewallTransform
PossibleWebApplicationFirewallTransformValues returns an array of possible values for the WebApplicationFirewallTransform const type.
WebCategoriesClient is the network Client
type WebCategoriesClient struct { BaseClient }
func NewWebCategoriesClient(subscriptionID string) WebCategoriesClient
NewWebCategoriesClient creates an instance of the WebCategoriesClient client.
func NewWebCategoriesClientWithBaseURI(baseURI string, subscriptionID string) WebCategoriesClient
NewWebCategoriesClientWithBaseURI creates an instance of the WebCategoriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client WebCategoriesClient) Get(ctx context.Context, name string, expand string) (result AzureWebCategory, err error)
Get gets the specified Azure Web Category. Parameters: name - the name of the azureWebCategory. expand - expands resourceIds back referenced by the azureWebCategory resource.
func (client WebCategoriesClient) GetPreparer(ctx context.Context, name string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client WebCategoriesClient) GetResponder(resp *http.Response) (result AzureWebCategory, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client WebCategoriesClient) 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 WebCategoriesClient) ListBySubscription(ctx context.Context) (result AzureWebCategoryListResultPage, err error)
ListBySubscription gets all the Azure Web Categories in a subscription.
func (client WebCategoriesClient) ListBySubscriptionComplete(ctx context.Context) (result AzureWebCategoryListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client WebCategoriesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client WebCategoriesClient) ListBySubscriptionResponder(resp *http.Response) (result AzureWebCategoryListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (client WebCategoriesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
Name | Synopsis |
---|---|
.. | |
networkapi | Deprecated: Please note, this package has been deprecated. |