MeshNetworkOperations Class
MeshNetworkOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Constructor
MeshNetworkOperations(client, config, serializer, deserializer)
Parameters
Name | Description |
---|---|
client
Required
|
Client for service requests. |
config
Required
|
Configuration of service client. |
serializer
Required
|
An object model serializer. |
deserializer
Required
|
An object model deserializer. |
Variables
Name | Description |
---|---|
api_version
|
The version of the API. This parameter is required and its value must be '6.4-preview'. Constant value: "6.4-preview". |
Methods
create_or_update |
Creates or updates a Network resource. Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services. |
delete |
Deletes the Network resource. Deletes the Network resource identified by the name. |
get |
Gets the Network resource with the given name. Gets the information about the Network resource with the given name. The information include the description and other properties of the Network. |
list |
Lists all the network resources. Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network. |
create_or_update
Creates or updates a Network resource.
Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.
create_or_update(network_resource_name, name, properties, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
network_resource_name
Required
|
The identity of the network. |
name
Required
|
Name of the Network resource. |
properties
Required
|
Describes properties of a network resource. |
custom_headers
|
headers that will be added to the request Default value: None
|
raw
|
returns the direct response alongside the deserialized response Default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
<xref:msrest.pipeline.ClientRawResponse>
|
NetworkResourceDescription or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
delete
Deletes the Network resource.
Deletes the Network resource identified by the name.
delete(network_resource_name, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
network_resource_name
Required
|
The identity of the network. |
custom_headers
|
headers that will be added to the request Default value: None
|
raw
|
returns the direct response alongside the deserialized response Default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
None,
<xref:msrest.pipeline.ClientRawResponse>
|
None or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
get
Gets the Network resource with the given name.
Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.
get(network_resource_name, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
network_resource_name
Required
|
The identity of the network. |
custom_headers
|
headers that will be added to the request Default value: None
|
raw
|
returns the direct response alongside the deserialized response Default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
<xref:msrest.pipeline.ClientRawResponse>
|
NetworkResourceDescription or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
list
Lists all the network resources.
Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.
list(custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
custom_headers
|
headers that will be added to the request Default value: None
|
raw
|
returns the direct response alongside the deserialized response Default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
<xref:msrest.pipeline.ClientRawResponse>
|
PagedNetworkResourceDescriptionList or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.servicefabric.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv243\\Lib\\site-packages\\azure\\servicefabric\\models\\__init__.py'>