azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.managem...

316 строки
20 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.management.network._network_peering._definition
id: _definition
parent: com.microsoft.azure.management.network
href: com.microsoft.azure.management.network._network_peering._definition.yml
langs:
- java
name: NetworkPeering.Definition
nameWithType: NetworkPeering.Definition
fullName: com.microsoft.azure.management.network.NetworkPeering.Definition
type: Interface
source:
remote:
path: azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkPeering.java
branch: v1.3.0
repo: https://github.com/Azure/azure-sdk-for-java
path: azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkPeering.java
startLine: 236
package: com.microsoft.azure.management.network
summary: <p>The entirety of the network peering definition. </p>
syntax:
content: public interface Definition extends NetworkPeering.DefinitionStages.Blank,NetworkPeering.DefinitionStages.WithCreate,NetworkPeering.DefinitionStages.WithRemoteNetwork
inheritedMembers:
- com.microsoft.azure.management.resources.fluentcore.model._creatable.create()
- com.microsoft.azure.management.resources.fluentcore.model._creatable.createAsync(final ServiceCallback<T>)
- com.microsoft.azure.management.resources.fluentcore.model._creatable.createAsync()
- com.microsoft.azure.management.resources.fluentcore.model._indexable.key()
- com.microsoft.azure.management.resources.fluentcore.arm.models._has_name.name()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseByRemoteNetworkAllowed()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseByRemoteNetworkStarted()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseOnRemoteNetworkStarted()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_access.withoutAccessFromEitherNetwork()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withoutAnyGatewayUse()
- com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.withRemoteNetwork(String)
- com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.withRemoteNetwork(Network)
- com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingBetweenBothNetworks()
- com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingFromRemoteNetwork()
- com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingToRemoteNetwork()
references:
- uid: com.microsoft.azure.management.resources.fluentcore.model._creatable.create()
parent: com.microsoft.azure.management.resources.fluentcore.model._creatable
href: com.microsoft.azure.management.resources.fluentcore.model._creatable.yml
name: create()
nameWithType: Creatable<T>.create()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Creatable<T>.create()
type: Method
summary: >-
<p>Execute the create request.</p>
<p></p>
syntax:
content: public T create()
return:
type: 8ce1ecb9
description: <p>the create resource </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._creatable.createAsync(final ServiceCallback<T>)
parent: com.microsoft.azure.management.resources.fluentcore.model._creatable
href: com.microsoft.azure.management.resources.fluentcore.model._creatable.yml
name: createAsync(final ServiceCallback<T> callback)
nameWithType: Creatable<T>.createAsync(final ServiceCallback<T> callback)
fullName: com.microsoft.azure.management.resources.fluentcore.model.Creatable<T>.createAsync(final ServiceCallback<T> callback)
type: Method
summary: >-
<p>Puts the request into the queue and allow the HTTP client to execute it when system resources are available.</p>
<p></p>
syntax:
content: public ServiceFuture<T> createAsync(final ServiceCallback<T> callback)
parameters:
- id: callback
type: fe95c2b0
description: <p>the callback to handle success and failure </p>
return:
type: c0371a4e
description: <p>a handle to cancel the request </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._creatable.createAsync()
parent: com.microsoft.azure.management.resources.fluentcore.model._creatable
href: com.microsoft.azure.management.resources.fluentcore.model._creatable.yml
name: createAsync()
nameWithType: Creatable<T>.createAsync()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Creatable<T>.createAsync()
type: Method
summary: >-
<p>Puts the request into the queue and allow the HTTP client to execute it when system resources are available.</p>
<p></p>
syntax:
content: public Observable<Indexable> createAsync()
return:
type: c2d0e8c6com.microsoft.azure.management.resources.fluentcore.model._indexablea08ddfce
description: <p>an observable of the request </p>
- uid: com.microsoft.azure.management.resources.fluentcore.model._indexable.key()
parent: com.microsoft.azure.management.resources.fluentcore.model._indexable
href: com.microsoft.azure.management.resources.fluentcore.model._indexable.yml
name: key()
nameWithType: Indexable.key()
fullName: com.microsoft.azure.management.resources.fluentcore.model.Indexable.key()
type: Method
syntax:
content: public String key()
return:
type: "26831127"
description: <p>the index key. </p>
- uid: com.microsoft.azure.management.resources.fluentcore.arm.models._has_name.name()
parent: com.microsoft.azure.management.resources.fluentcore.arm.models._has_name
href: com.microsoft.azure.management.resources.fluentcore.arm.models._has_name.yml
name: name()
nameWithType: HasName.name()
fullName: com.microsoft.azure.management.resources.fluentcore.arm.models.HasName.name()
type: Method
syntax:
content: public String name()
return:
type: "26831127"
description: <p>the name of the resource </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseByRemoteNetworkAllowed()
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.yml
name: withGatewayUseByRemoteNetworkAllowed()
nameWithType: NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseByRemoteNetworkAllowed()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseByRemoteNetworkAllowed()
type: Method
summary: >-
<p>Allows the remote network to use this network's gateway (a.k.a. gateway transit), but does not start the use of the gateway by the remote network. </p>
<p>If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together. </p>
syntax:
content: public WithCreate withGatewayUseByRemoteNetworkAllowed()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseByRemoteNetworkStarted()
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.yml
name: withGatewayUseByRemoteNetworkStarted()
nameWithType: NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseByRemoteNetworkStarted()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseByRemoteNetworkStarted()
type: Method
summary: >-
<p>Allows and starts the use of this network's gateway by the remote network (a.k.a. gateway transit). </p>
<p>If the remote network is not in the same subscription as this network, then gateway use by the remote gateway will only be allowed on this network, but not started. The matching peering on the remote network must be modified explicitly to start it. </p>
<p>If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together. </p>
<p>Before gateway use by a remote network can be started, a working gateway must already be in place within this network. </p>
syntax:
content: public WithCreate withGatewayUseByRemoteNetworkStarted()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withGatewayUseOnRemoteNetworkStarted()
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.yml
name: withGatewayUseOnRemoteNetworkStarted()
nameWithType: NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseOnRemoteNetworkStarted()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithGatewayUse.withGatewayUseOnRemoteNetworkStarted()
type: Method
summary: >-
<p>Starts the use of the remote network's gateway. </p>
<p>If the remote network is in the same subscription, remote gateway use by this network (a.k.a. gateway transit) will also be automatically allowed on the remote network's side. Otherwise, this network will only be configured to use the remote gateway, but the matching peering on the remote network must still be additionally modified explicitly to allow gateway use by this network. </p>
<p>If this network is currently configured to allow the remote network to use its gateway, that use will be automatically disabled, as these two settings cannot be used together. </p>
<p>Before gateway use on a remote network can be started, a working gateway must already be in place within the remote network. </p>
syntax:
content: public WithCreate withGatewayUseOnRemoteNetworkStarted()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_access.withoutAccessFromEitherNetwork()
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_access
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_access.yml
name: withoutAccessFromEitherNetwork()
nameWithType: NetworkPeering.DefinitionStages.WithAccess.withoutAccessFromEitherNetwork()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithAccess.withoutAccessFromEitherNetwork()
type: Method
summary: >-
<p>Disallows access to either peered network from the other. </p>
<p>This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding access setting on the remote network's matching peering explicitly. </p>
syntax:
content: public WithCreate withoutAccessFromEitherNetwork()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.withoutAnyGatewayUse()
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_gateway_use.yml
name: withoutAnyGatewayUse()
nameWithType: NetworkPeering.DefinitionStages.WithGatewayUse.withoutAnyGatewayUse()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithGatewayUse.withoutAnyGatewayUse()
type: Method
summary: <p>Disables any gateway use by this network and the remote one. </p>
syntax:
content: public WithCreate withoutAnyGatewayUse()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.withRemoteNetwork(String)
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.yml
name: withRemoteNetwork(String resourceId)
nameWithType: NetworkPeering.DefinitionStages.WithRemoteNetwork.withRemoteNetwork(String resourceId)
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithRemoteNetwork.withRemoteNetwork(String resourceId)
type: Method
summary: >-
<p>Specifies the remote network to peer with. </p>
<p>The remote network will have the matching peering associated with it automatically. </p>
syntax:
content: public WithCreate withRemoteNetwork(String resourceId)
parameters:
- id: resourceId
type: "26831127"
description: <p>the resource ID of an existing network </p>
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.withRemoteNetwork(Network)
parent: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.yml
name: withRemoteNetwork(Network network)
nameWithType: NetworkPeering.DefinitionStages.WithRemoteNetwork.withRemoteNetwork(Network network)
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithRemoteNetwork.withRemoteNetwork(Network network)
type: Method
summary: >-
<p>Specifies the remote network to peer with. </p>
<p>The remote network will have the matching peering associated with it automatically. </p>
syntax:
content: public WithCreate withRemoteNetwork(Network network)
parameters:
- id: network
type: com.microsoft.azure.management.network._network
description: <p>an existing network </p>
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingBetweenBothNetworks()
parent: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0
href: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.yml
name: withTrafficForwardingBetweenBothNetworks()
nameWithType: NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingBetweenBothNetworks()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingBetweenBothNetworks()
type: Method
summary: >-
<p>Allows traffic forwarding both from either peered network into the other. </p>
<p>This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding traffic forwarding setting on the remote network's matching peering explicitly. </p>
syntax:
content: public WithCreate withTrafficForwardingBetweenBothNetworks()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingFromRemoteNetwork()
parent: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0
href: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.yml
name: withTrafficForwardingFromRemoteNetwork()
nameWithType: NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingFromRemoteNetwork()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingFromRemoteNetwork()
type: Method
summary: <p>Allows traffic forwarded from the remote network. </p>
syntax:
content: public WithCreate withTrafficForwardingFromRemoteNetwork()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
description: <p>the next stage of the definition </p>
- uid: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.withTrafficForwardingToRemoteNetwork()
parent: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0
href: com.microsoft.azure.management.network._network_peering._definition_s28d7f5301193601e30f775d8124ee8c0.yml
name: withTrafficForwardingToRemoteNetwork()
nameWithType: NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingToRemoteNetwork()
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithTrafficForwarding.withTrafficForwardingToRemoteNetwork()
type: Method
summary: >-
<p>Allows traffic forwarding from this network to the remote network. </p>
<p>This setting will have effect only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding traffic forwarding setting on the remote network's matching peering explicitly. </p>
syntax:
content: public WithCreate withTrafficForwardingToRemoteNetwork()
return:
type: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._blank
parent: com.microsoft.azure.management.network
href: com.microsoft.azure.management.network._network_peering._definition_stages._blank.yml
name: NetworkPeering.DefinitionStages.Blank
nameWithType: NetworkPeering.DefinitionStages.Blank
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.Blank
type: Interface
summary: <p>The first stage of a network peering definition. </p>
syntax:
content: public interface Blank extends NetworkPeering.DefinitionStages.WithRemoteNetwork
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_create
parent: com.microsoft.azure.management.network
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_create.yml
name: NetworkPeering.DefinitionStages.WithCreate
nameWithType: NetworkPeering.DefinitionStages.WithCreate
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithCreate
type: Interface
summary: <p>The stage of a network peering definition with sufficient inputs to create a new network peering in the cloud, but exposing additional optional settings to specify. </p>
syntax:
content: public interface WithCreate
- uid: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network
parent: com.microsoft.azure.management.network
href: com.microsoft.azure.management.network._network_peering._definition_stages._with_remote_network.yml
name: NetworkPeering.DefinitionStages.WithRemoteNetwork
nameWithType: NetworkPeering.DefinitionStages.WithRemoteNetwork
fullName: com.microsoft.azure.management.network.NetworkPeering.DefinitionStages.WithRemoteNetwork
type: Interface
summary: <p>The stage of a network peering definition allowing to specify the remote virtual network. </p>
syntax:
content: public interface WithRemoteNetwork