pub struct TransitGatewayHandler { /* private fields */ }
Expand description
Transit Gateway handler
Implementations§
Source§impl TransitGatewayHandler
impl TransitGatewayHandler
Sourcepub fn new(client: CloudClient) -> Self
pub fn new(client: CloudClient) -> Self
Create a new Transit Gateway handler
Sourcepub async fn get_attachments(
&self,
subscription_id: i32,
) -> Result<TaskStateUpdate>
pub async fn get_attachments( &self, subscription_id: i32, ) -> Result<TaskStateUpdate>
Get Transit Gateway attachments
Get Transit Gateway shared invitations
Accept Transit Gateway resource share
Reject Transit Gateway resource share
Sourcepub async fn delete_attachment(
&self,
subscription_id: i32,
attachment_id: String,
) -> Result<Value>
pub async fn delete_attachment( &self, subscription_id: i32, attachment_id: String, ) -> Result<Value>
Delete Transit Gateway attachment
Sourcepub async fn create_attachment_with_id(
&self,
subscription_id: i32,
tgw_id: &str,
) -> Result<TaskStateUpdate>
pub async fn create_attachment_with_id( &self, subscription_id: i32, tgw_id: &str, ) -> Result<TaskStateUpdate>
Create Transit Gateway attachment with tgw_id in path
Sourcepub async fn create_attachment(
&self,
subscription_id: i32,
request: &TgwAttachmentRequest,
) -> Result<TaskStateUpdate>
pub async fn create_attachment( &self, subscription_id: i32, request: &TgwAttachmentRequest, ) -> Result<TaskStateUpdate>
Create Transit Gateway attachment
Sourcepub async fn update_attachment_cidrs(
&self,
subscription_id: i32,
attachment_id: String,
request: &TgwAttachmentRequest,
) -> Result<TaskStateUpdate>
pub async fn update_attachment_cidrs( &self, subscription_id: i32, attachment_id: String, request: &TgwAttachmentRequest, ) -> Result<TaskStateUpdate>
Update Transit Gateway attachment CIDRs
Sourcepub async fn get_attachments_active_active(
&self,
subscription_id: i32,
) -> Result<TaskStateUpdate>
pub async fn get_attachments_active_active( &self, subscription_id: i32, ) -> Result<TaskStateUpdate>
Get Active-Active Transit Gateway attachments
Get Active-Active Transit Gateway shared invitations
Accept Active-Active Transit Gateway resource share
Reject Active-Active Transit Gateway resource share
Sourcepub async fn delete_attachment_active_active(
&self,
subscription_id: i32,
region_id: i32,
attachment_id: String,
) -> Result<Value>
pub async fn delete_attachment_active_active( &self, subscription_id: i32, region_id: i32, attachment_id: String, ) -> Result<Value>
Delete Active-Active Transit Gateway attachment
Sourcepub async fn create_attachment_active_active(
&self,
subscription_id: i32,
region_id: i32,
request: &TgwAttachmentRequest,
) -> Result<TaskStateUpdate>
pub async fn create_attachment_active_active( &self, subscription_id: i32, region_id: i32, request: &TgwAttachmentRequest, ) -> Result<TaskStateUpdate>
Create Active-Active Transit Gateway attachment
Sourcepub async fn update_attachment_cidrs_active_active(
&self,
subscription_id: i32,
region_id: i32,
attachment_id: String,
request: &TgwAttachmentRequest,
) -> Result<TaskStateUpdate>
pub async fn update_attachment_cidrs_active_active( &self, subscription_id: i32, region_id: i32, attachment_id: String, request: &TgwAttachmentRequest, ) -> Result<TaskStateUpdate>
Update Active-Active Transit Gateway attachment CIDRs
Auto Trait Implementations§
impl Freeze for TransitGatewayHandler
impl !RefUnwindSafe for TransitGatewayHandler
impl Send for TransitGatewayHandler
impl Sync for TransitGatewayHandler
impl Unpin for TransitGatewayHandler
impl !UnwindSafe for TransitGatewayHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more