pub fn delete_configuration<S, T>(
        &self,
        configuration_id: S,
        if_match: T,
    ) -> DeleteConfigurationBuilder<'_>
    where
        S: Into<String>,
        T: Into<String>,
    {
        DeleteConfigurationBuilder::new(self, if_match.into(), configuration_id.into())
    }
/// Delete a configuration
///
/// The if-match value can either be Some(String) or None. When if-match is None,
/// an unconditional delete will be performed.
///
/// ```
/// use azure_core::HttpClient;
/// use azure_iot_hub::service::ServiceClient;
///
/// # let http_client = azure_core::new_http_client();
/// # let connection_string = "HostName=cool-iot-hub.azure-devices.net;SharedAccessKeyName=iot_hubowner;SharedAccessKey=YSB2ZXJ5IHNlY3VyZSBrZXkgaXMgaW1wb3J0YW50Cg==";
/// let iot_hub = ServiceClient::from_connection_string(http_client, connection_string, 3600).expect("Failed to create the ServiceClient!");
/// let device = iot_hub.delete_configuration("some-configuration-id", "some-etag");
/// ```
Delete a configuration
The if-match value can either be Some(String) or None. When if-match is None,
an unconditional delete will be performed.


Delete a configuration The if - match value can either be Some ( String ) or None . When if - match is None an unconditional delete will be performed .
pub fn delete_configuration<S, T>(
        &self,
        configuration_id: S,
        if_match: T,
    ) -> DeleteConfigurationBuilder<'_>
    where
        S: Into<String>,
        T: Into<String>,
    {
        DeleteConfigurationBuilder::new(self, if_match.into(), configuration_id.into())
    }
pub fn delete_configuration < S , T > ( & self , configuration_id : S , if_match : T , ) -> DeleteConfigurationBuilder < ' _ > where S : Into < String > , T : Into < String > , { DeleteConfigurationBuilder :: new ( self , if_match . into ( ) , configuration_id . into ( ) ) }
Delete a configuration
The if-match value can either be Some(String) or None.
Delete a configuration The if - match value can either be Some ( String ) or None .
&self
configuration_id
S
if_match
T
let http_client = azure_core::new_http_client();
None
let connection_string = "hostname=cool-iot-hub.azure-devices.net;sharedaccesskeyname=iot_hubowner;sharedaccesskey=ysb2zxj5ihnly3vyzsbrzxkgaxmgaw1wb3j0yw50cg==";
let iot_hub = ServiceClient::from_connection_string.expect("Failed to create the ServiceClient!");
let device = iot_hub.delete_configuration("some-configuration-id", "some-etag");
```
let iot_hub = ServiceClient :: from_connection_string . expect ( " Failed to create the ServiceClient! " ) ; let device = iot_hub . delete_configuration ( " some - configuration - id " " some - etag " ) ; ` ` `