Share via


StaticMembersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:static_members> attribute.

Constructor

StaticMembersOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a static member.

delete

Deletes a static member.

get

Gets the specified static member.

list

Lists the specified static member.

create_or_update

Creates or updates a static member.

create_or_update(resource_group_name: str, network_manager_name: str, network_group_name: str, static_member_name: str, parameters: _models.StaticMember, *, content_type: str = 'application/json', **kwargs: Any) -> _models.StaticMember

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

network_group_name
Required
str

The name of the network group. Required.

static_member_name
Required
str

The name of the static member. Required.

parameters
Required

Parameters supplied to the specify the static member to create. Is either a StaticMember type or a IO[bytes] type. Required.

Returns

Type Description

StaticMember or the result of cls(response)

Exceptions

Type Description

delete

Deletes a static member.

delete(resource_group_name: str, network_manager_name: str, network_group_name: str, static_member_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

network_group_name
Required
str

The name of the network group. Required.

static_member_name
Required
str

The name of the static member. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Gets the specified static member.

get(resource_group_name: str, network_manager_name: str, network_group_name: str, static_member_name: str, **kwargs: Any) -> StaticMember

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

network_group_name
Required
str

The name of the network group. Required.

static_member_name
Required
str

The name of the static member. Required.

Returns

Type Description

StaticMember or the result of cls(response)

Exceptions

Type Description

list

Lists the specified static member.

list(resource_group_name: str, network_manager_name: str, network_group_name: str, *, top: int | None = None, skip_token: str | None = None, **kwargs: Any) -> Iterable[StaticMember]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

network_group_name
Required
str

The name of the network group. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

Default value: None
skip_token
str

SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either StaticMember or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv169\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>